Merge branch 'master' into 1.15

This commit is contained in:
gnembon committed 2020-01-27 14:50:11 -04:00
commit e94dd23402
6 files changed
+147 -82

No files matched your search

@@ -43,7 +43,7 @@ public class CarpetScriptServer
private static final List<Module> bundledModuleData = new ArrayList<Module>(){{
add(new BundledModule("camera", false));
add(new BundledModule("structures", false));
add(new BundledModule("overlay", false));
add(new BundledModule("event_test", false));
add(new BundledModule("stats_test", false));
add(new BundledModule("math", true));
@@ -85,7 +85,8 @@ public class MapValue extends AbstractListValue implements ContainerValueInterfa
@Override
public Value add(Value o)
{
throw new InternalExpressionException("Cannot add to a map value");
append(o);
return this;
}
@Override