SPIGOT-4953: Crafting table inventory returns player location, not block location
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
+
|
||||
+ @Override
|
||||
+ public Location getLocation() {
|
||||
+ return owner.getBukkitEntity().getLocation();
|
||||
+ return container instanceof ContainerWorkbench ? ((ContainerWorkbench) container).e.getLocation() : owner.getBukkitEntity().getLocation();
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
|
||||
Reference in New Issue
Block a user