SPIGOT-5058: ClassCastException when getting InventoryHolder of lectern when it's destroyed
Dieser Commit ist enthalten in:
Ursprung
411609dc81
Commit
4a07dc69d0
@ -58,7 +58,7 @@
|
|||||||
+
|
+
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public InventoryHolder getOwner() {
|
+ public InventoryHolder getOwner() {
|
||||||
+ return (Lectern) CraftBlock.at(world, position).getState();
|
+ return (Lectern) TileEntityLectern.this.getOwner();
|
||||||
+ }
|
+ }
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren