mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
14
nms-patches/TileEntityJukeBox.patch
Normal file
14
nms-patches/TileEntityJukeBox.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/net/minecraft/server/TileEntityJukeBox.java
|
||||
+++ b/net/minecraft/server/TileEntityJukeBox.java
|
||||
@@ -31,6 +31,11 @@
|
||||
}
|
||||
|
||||
public void setRecord(ItemStack itemstack) {
|
||||
+ // CraftBukkit start - There can only be one
|
||||
+ if (!itemstack.isEmpty()) {
|
||||
+ itemstack.setCount(1);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
this.a = itemstack;
|
||||
this.update();
|
||||
}
|
Reference in New Issue
Block a user