Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
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
|
||||
+ public InventoryHolder getOwner() {
|
||||
+ return (Lectern) CraftBlock.at(world, position).getState();
|
||||
+ return (Lectern) TileEntityLectern.this.getOwner();
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren