Paper/nms-patches/TileEntityRecordPlayer.patch
2014-11-28 16:54:14 -06:00

13 lines
304 B
Diff

@@ -29,6 +29,11 @@
}
public void setRecord(ItemStack itemstack) {
+ // CraftBukkit start - There can only be one
+ if (itemstack != null) {
+ itemstack.count = 1;
+ }
+ // CraftBukkit end
this.record = itemstack;
this.update();
}