mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 11:49:05 +00:00
- Added /mt blocks and /mt entities commands
- Further preparation of event manager for the event update - Can now request all blocks and entities using the global game variable - Improved automatic handling of version numbers
This commit is contained in:
1 parent
b50a88227b
commit
56b8c9355c
81 files changed
+751
-506
No files matched your search
@@ -29,7 +29,7 @@ public abstract class Expression implements IPartialExpression {
|
||||
}
|
||||
|
||||
public Expression cast(ZenPosition position, IEnvironmentGlobal environment, ZenType type) {
|
||||
if (getType() == type) {
|
||||
if (getType().equals(type)) {
|
||||
return this;
|
||||
} else {
|
||||
ICastingRule castingRule = getType().getCastingRule(type, environment);
|
||||
|
||||
Reference in new issue
Block a user