locale fix
This commit is contained in:
parent
8be702b3aa
commit
c527989ada
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ abstract class TagList<K extends Tag> extends Tag {
|
|||
void read(DataInput input, int depth, SizeTracker tracker) throws IOException {
|
||||
tracker.read(36);
|
||||
if(depth > 512)
|
||||
throw new RuntimeException("Tried to read NBT tag with too high complexity, depth > 512");
|
||||
throw new RuntimeException("Objekt ist zu komplex, die Tiefe ist größer als 512");
|
||||
int len = input.readInt();
|
||||
tracker.read(4 * len);
|
||||
this.list = new ArrayList<K>(len);
|
||||
|
|
|
@ -28,7 +28,7 @@ public class TagObject extends Tag {
|
|||
void read(DataInput input, int depth, SizeTracker tracker) throws IOException {
|
||||
tracker.read(48);
|
||||
if(depth > 512)
|
||||
throw new RuntimeException("Tried to read NBT tag with too high complexity, depth > 512");
|
||||
throw new RuntimeException("Objekt ist zu komplex, die Tiefe ist größer als 512");
|
||||
this.tags.clear();
|
||||
byte id;
|
||||
while((id = input.readByte()) != 0) {
|
||||
|
|
|
@ -13,7 +13,7 @@ class TagString extends Tag {
|
|||
|
||||
public TagString(String data) {
|
||||
if(data == null)
|
||||
throw new IllegalArgumentException("null is not allowed");
|
||||
throw new IllegalArgumentException("Eine Zeichenkette aus null ist nicht erlaubt");
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue