mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 11:49:05 +00:00
- Basic types can now be converted to the "any" type
- Changed OreDict 'contains' to respond to the 'in' operator
This commit is contained in:
1 parent
52f92dcfd4
commit
1b72abb2b4
59 files changed
+3595
-976
No files matched your search
+1
-1
@@ -36,7 +36,7 @@ public class ExpressionArithmeticUnary extends Expression {
|
||||
MethodOutput output = environment.getOutput();
|
||||
if (result) {
|
||||
ZenType type = base.getType();
|
||||
if (type == ZenTypeBool.INSTANCE) {
|
||||
if (type == ZenType.BOOL) {
|
||||
if (operator == OperatorType.NOT) {
|
||||
output.iNot();
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user