mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
40c8954e17
By: md_5 <git@md-5.net>
10 lines
418 B
Diff
10 lines
418 B
Diff
--- a/net/minecraft/server/EntityPainting.java
|
|
+++ b/net/minecraft/server/EntityPainting.java
|
|
@@ -11,6 +11,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) {
|