mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 01:25:03 +01:00
a8ddf37419
By: GunfighterJ <joseph.jenniges@gmail.com>
12 lines
304 B
Diff
12 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();
|
|
}
|