mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 20:30:28 +01:00
11 lines
416 B
Diff
11 lines
416 B
Diff
--- a/net/minecraft/server/EntityPainting.java
|
|
+++ b/net/minecraft/server/EntityPainting.java
|
|
@@ -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) {
|