- Added GregTech support for 1.6.4

- Fixed comparisons for item stacks. This is a major fix, as it enables stuck recipes to be recognized and ignored if they are unchanged upon reload.
This commit is contained in:
Stan Hebben committed 2014-07-08 00:02:29 +02:00
1 parent fc8bf619e1
commit 3283664f4b
38 files changed
+2745 -28

No files matched your search

@@ -29,7 +29,7 @@ public class ZenTypeDouble extends ZenType {
@Override
public boolean canCastImplicit(ZenType type, IEnvironmentGlobal environment) {
return (type.getNumberType() != 0 && type.getNumberType() == NUM_DOUBLE)
return (type.getNumberType() != 0 && type.getNumberType() >= NUM_FLOAT)
|| type == STRING
|| canCastExpansion(environment, type);
}