- Fixed multiple saplings with the same ID not working in the Planter

- Fixed crash when using /mt hand on a dedicated server
- Fixed crash in /mt recipes in some cases
This commit is contained in:
Stan Hebben committed 2014-10-16 23:03:53 +02:00
1 parent 59ef38877f
commit 7d886a3ce3
37 files changed
+500 -99

No files matched your search

@@ -82,7 +82,7 @@ public class DataString implements IData {
@Override
public void setAt(int i, IData value) {
throw new RuntimeException("Strings are immutable");
throw new UnsupportedOperationException("Strings are immutable");
}
@Override
@@ -90,13 +90,13 @@ public class DataString implements IData {
if (name.equals("length")) {
return new DataInt(value.length());
} else {
throw new RuntimeException("no such member: " + name);
throw new UnsupportedOperationException("no such member: " + name);
}
}
@Override
public void memberSet(String name, IData data) {
throw new RuntimeException("Strings are immutable");
throw new UnsupportedOperationException("Strings are immutable");
}
@Override