summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorWesley Wolfe <weswolf@aol.com>2012-12-22 05:48:11 -0600
committerWesley Wolfe <weswolf@aol.com>2012-12-22 05:48:11 -0600
commit6dc13b688ae197a61b50dec8e81781b34cb60290 (patch)
tree60df2ce53625718f87acb769f414af9ac49f463e /src/main/java
parent2fd78a65495f62243b469de8c2333c715c751644 (diff)
downloadcraftbukkit-6dc13b688ae197a61b50dec8e81781b34cb60290.tar
craftbukkit-6dc13b688ae197a61b50dec8e81781b34cb60290.tar.gz
craftbukkit-6dc13b688ae197a61b50dec8e81781b34cb60290.tar.lz
craftbukkit-6dc13b688ae197a61b50dec8e81781b34cb60290.tar.xz
craftbukkit-6dc13b688ae197a61b50dec8e81781b34cb60290.zip
One record per JukeBox.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/BlockJukeBox.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/BlockJukeBox.java b/src/main/java/net/minecraft/server/BlockJukeBox.java
index 9051b048..b675141c 100644
--- a/src/main/java/net/minecraft/server/BlockJukeBox.java
+++ b/src/main/java/net/minecraft/server/BlockJukeBox.java
@@ -26,6 +26,7 @@ public class BlockJukeBox extends BlockContainer {
if (tileentityrecordplayer != null) {
tileentityrecordplayer.record = itemstack.cloneItemStack();
+ tileentityrecordplayer.record.count = 1; // CraftBukkit - There can be only one
tileentityrecordplayer.update();
world.setData(i, j, k, 1);
}