diff --git a/src/main/java/org/skriptlang/skript/lang/arithmetic/Arithmetics.java b/src/main/java/org/skriptlang/skript/lang/arithmetic/Arithmetics.java index 27a8065e122..10563db0b68 100644 --- a/src/main/java/org/skriptlang/skript/lang/arithmetic/Arithmetics.java +++ b/src/main/java/org/skriptlang/skript/lang/arithmetic/Arithmetics.java @@ -72,7 +72,7 @@ public static void registerOperation(Operator operator, Class leftC getOperations_i(operator).add(new OperationInfo<>(leftClass, rightClass, returnType, operation)); } - private static boolean exactOperationExists(Operator operator, Class leftClass, Class rightClass) { + public static boolean exactOperationExists(Operator operator, Class leftClass, Class rightClass) { for (OperationInfo info : getOperations_i(operator)) { if (info.getLeft() == leftClass && info.getRight() == rightClass) return true; @@ -188,7 +188,7 @@ public static void registerDifference(Class type, Class returnType, differences.put(type, new DifferenceInfo<>(type, returnType, operation)); } - private static boolean exactDifferenceExists(Class type) { + public static boolean exactDifferenceExists(Class type) { return differences.containsKey(type); }