mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user