- 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

@@ -17,7 +17,7 @@ public class DataShort implements IData {
@Override
public boolean asBool() {
throw new RuntimeException("Cannot cast a short to a bool");
throw new IllegalDataException("Cannot cast a short to a bool");
}
@Override
@@ -77,22 +77,22 @@ public class DataShort implements IData {
@Override
public IData getAt(int i) {
throw new RuntimeException("A short is not indexable");
throw new UnsupportedOperationException("A short is not indexable");
}
@Override
public void setAt(int i, IData value) {
throw new RuntimeException("A short is not indexable");
throw new UnsupportedOperationException("A short is not indexable");
}
@Override
public IData memberGet(String name) {
throw new RuntimeException("A short is not indexable");
throw new UnsupportedOperationException("A short is not indexable");
}
@Override
public void memberSet(String name, IData data) {
throw new RuntimeException("A short is not indexable");
throw new UnsupportedOperationException("A short is not indexable");
}
@Override