geforkt von Mirrors/Paper
a419776f3c
For more information please see http://www.spigotmc.org/ By: Thinkofdeath <thinkofdeath@spigotmc.org>
15 Zeilen
523 B
Diff
15 Zeilen
523 B
Diff
--- ../work/decompile-bb26c12b/net/minecraft/server/TileEntityRecordPlayer.java 2014-11-27 08:59:46.917420896 +1100
|
|
+++ src/main/java/net/minecraft/server/TileEntityRecordPlayer.java 2014-11-27 08:42:10.164850887 +1100
|
|
@@ -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();
|
|
}
|