diff options
author | Wesley Wolfe <weswolf@aol.com> | 2012-12-22 05:48:11 -0600 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2012-12-22 05:48:11 -0600 |
commit | 6dc13b688ae197a61b50dec8e81781b34cb60290 (patch) | |
tree | 60df2ce53625718f87acb769f414af9ac49f463e /src | |
parent | 2fd78a65495f62243b469de8c2333c715c751644 (diff) | |
download | craftbukkit-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')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockJukeBox.java | 1 |
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);
}
|