mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-20 03:59:38 +00:00
- 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:
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
|
||||
|
||||
Reference in new issue
Block a user