2018-07-15 02:00:00 +02:00
|
|
|
--- a/net/minecraft/server/DataConverterFlatten.java
|
|
|
|
+++ b/net/minecraft/server/DataConverterFlatten.java
|
2020-06-25 02:00:00 +02:00
|
|
|
@@ -375,7 +375,7 @@
|
2018-12-25 22:00:00 +01:00
|
|
|
Typed<?> typed2 = typed.getOrCreateTyped(opticfinder1);
|
|
|
|
Dynamic<?> dynamic1 = (Dynamic) typed2.get(DSL.remainderFinder());
|
2018-07-15 02:00:00 +02:00
|
|
|
|
|
|
|
- dynamic1 = dynamic1.set("Damage", dynamic1.createInt(i));
|
|
|
|
+ if (i != 0) dynamic1 = dynamic1.set("Damage", dynamic1.createInt(i)); // CraftBukkit
|
|
|
|
typed1 = typed1.set(opticfinder1, typed2.set(DSL.remainderFinder(), dynamic1));
|
|
|
|
}
|
|
|
|
|