mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
Update to Minecraft 1.9
This commit is contained in:
14
nms-patches/TileEntityContainer.patch
Normal file
14
nms-patches/TileEntityContainer.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/net/minecraft/server/TileEntityContainer.java
|
||||
+++ b/net/minecraft/server/TileEntityContainer.java
|
||||
@@ -36,4 +36,11 @@
|
||||
public IChatBaseComponent getScoreboardDisplayName() {
|
||||
return (IChatBaseComponent) (this.hasCustomName() ? new ChatComponentText(this.getName()) : new ChatMessage(this.getName(), new Object[0]));
|
||||
}
|
||||
+
|
||||
+ // CraftBukkit start
|
||||
+ @Override
|
||||
+ public org.bukkit.Location getLocation() {
|
||||
+ return new org.bukkit.Location(world.getWorld(), position.getX(), position.getY(), position.getZ());
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
}
|
Reference in New Issue
Block a user