geforkt von Mirrors/Paper
13 Zeilen
304 B
Diff
13 Zeilen
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();
|
||
|
}
|