Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 23:00:08 +01:00
11 Zeilen
525 B
Diff
11 Zeilen
525 B
Diff
--- /home/matt/mc-dev-private//net/minecraft/server/EntityPainting.java 2015-02-26 22:40:22.643608139 +0000
|
|
+++ src/main/java/net/minecraft/server/EntityPainting.java 2015-02-26 22:40:22.647608139 +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) {
|