Skip to content

Commit dc99af9

Browse files
RobotgiggleAlwinfy
authored andcommitted
Fix Negation Purification arithmetic
1 parent 48a6207 commit dc99af9

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

Common/src/main/java/at/petrak/hexcasting/common/casting/actions/math/logic/OpBoolNot.kt

Lines changed: 0 additions & 16 deletions
This file was deleted.

Common/src/main/java/at/petrak/hexcasting/common/lib/hex/HexActions.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import at.petrak.hexcasting.common.casting.actions.math.OpCoerceToAxial;
2727
import at.petrak.hexcasting.common.casting.actions.math.OpRandom;
2828
import at.petrak.hexcasting.common.casting.actions.math.logic.OpBoolIf;
29-
import at.petrak.hexcasting.common.casting.actions.math.logic.OpBoolNot;
3029
import at.petrak.hexcasting.common.casting.actions.math.logic.OpCoerceToBool;
3130
import at.petrak.hexcasting.common.casting.actions.math.logic.OpEquality;
3231
import at.petrak.hexcasting.common.casting.actions.queryentity.*;
@@ -170,6 +169,8 @@ public class HexActions {
170169
new OperationAction(HexPattern.fromAngles("wdw", HexDir.NORTH_EAST)));
171170
public static final ActionRegistryEntry OR = make("or",
172171
new OperationAction(HexPattern.fromAngles("waw", HexDir.SOUTH_EAST)));
172+
public static final ActionRegistryEntry NOT = make("not",
173+
new OperationAction(HexPattern.fromAngles("dw", HexDir.NORTH_WEST)));
173174
public static final ActionRegistryEntry XOR = make("xor",
174175
new OperationAction(HexPattern.fromAngles("dwa", HexDir.NORTH_WEST)));
175176
public static final ActionRegistryEntry GREATER = make("greater", new OperationAction(
@@ -188,8 +189,6 @@ public class HexActions {
188189
new ActionRegistryEntry(HexPattern.fromAngles("ad", HexDir.EAST), new OpEquality(false)));
189190
public static final ActionRegistryEntry NOT_EQUALS = make("not_equals",
190191
new ActionRegistryEntry(HexPattern.fromAngles("da", HexDir.EAST), new OpEquality(true)));
191-
public static final ActionRegistryEntry NOT = make("not",
192-
new ActionRegistryEntry(HexPattern.fromAngles("dw", HexDir.NORTH_WEST), OpBoolNot.INSTANCE));
193192
public static final ActionRegistryEntry BOOL_COERCE = make("bool_coerce",
194193
new ActionRegistryEntry(HexPattern.fromAngles("aw", HexDir.NORTH_EAST), OpCoerceToBool.INSTANCE));
195194
public static final ActionRegistryEntry IF = make("if",

0 commit comments

Comments
 (0)