Archiviert
13
0
Dieses Repository wurde am 2024-12-25 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
Paper-Old/nms-patches/EntityPainting.patch
Thinkofdeath 90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00

11 Zeilen
526 B
Diff

--- ../work/decompile-8eb82bde//net/minecraft/server/EntityPainting.java 2014-11-28 17:43:43.141707434 +0000
+++ src/main/java/net/minecraft/server/EntityPainting.java 2014-11-28 17:38:18.000000000 +0000
@@ -9,6 +9,7 @@
public EntityPainting(World world) {
super(world);
+ this.art = EnumArt.values()[this.random.nextInt(EnumArt.values().length)]; // CraftBukkit - generate a non-null painting
}
public EntityPainting(World world, BlockPosition blockposition, EnumDirection enumdirection) {