mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 18:07:39 +01:00
One record per JukeBox.
This commit is contained in:
parent
2fd78a6549
commit
6dc13b688a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user