mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 04:09:54 +01:00
24557bc2b3
For more information please see http://www.spigotmc.org/
11 lines
525 B
Diff
11 lines
525 B
Diff
--- ../work/decompile-bb26c12b/net/minecraft/server/EntityPainting.java 2014-11-27 08:59:46.717421776 +1100
|
|
+++ src/main/java/net/minecraft/server/EntityPainting.java 2014-11-27 08:42:10.132850949 +1100
|
|
@@ -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) {
|