mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-17 19:05:19 +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
@@ -110,10 +110,10 @@ public class ZenParsedFile {
|
||||
if (symbol == null) {
|
||||
environmentScript.error(imprt.getPosition(), "Not a valid type");
|
||||
} else {
|
||||
environmentScript.putValue(imprt.getRename(), type.toSymbol());
|
||||
environmentScript.putValue(imprt.getRename(), type.toSymbol(), imprt.getPosition());
|
||||
}
|
||||
} else {
|
||||
environmentScript.putValue(imprt.getRename(), new SymbolType(ZenType.ANY));
|
||||
environmentScript.putValue(imprt.getRename(), new SymbolType(ZenType.ANY), imprt.getPosition());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user