- 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:
Stan Hebben committed 2014-08-21 23:41:08 +02:00
1 parent b50a88227b
commit 56b8c9355c
81 files changed
+751 -506

No files matched your search

@@ -78,8 +78,12 @@ public class EnvironmentClass implements IEnvironmentClass {
}
@Override
public void putValue(String name, IZenSymbol value) {
local.put(name, value);
public void putValue(String name, IZenSymbol value, ZenPosition position) {
if (local.containsKey(name)) {
error(position, "Value already defined in this scope: " + name);
} else {
local.put(name, value);
}
}
@Override