mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 11:39:07 +00:00
Added scaleStack property to decorators
- Added scaleStack to decorators. It allows the size of the stack to scale to the size of the cave, using stackMin and stackMax as a min/max percentage - Fixed stacks missing a block in size when the top block isn't defined - Changed decorator stacks of a single block to place the top block instead of the body - Fixed tab sound playing to other players
This commit is contained in:
@@ -72,7 +72,7 @@ public abstract class MortarCommand implements ICommand {
|
||||
}
|
||||
|
||||
if (sender.isPlayer() && IrisSettings.get().getGeneral().isCommandSounds()) {
|
||||
sender.player().getWorld().playSound(sender.player().getLocation(), Sound.ENTITY_ITEM_FRAME_ROTATE_ITEM, 0.25f, 1.7f);
|
||||
sender.player().playSound(sender.player().getLocation(), Sound.ENTITY_ITEM_FRAME_ROTATE_ITEM, 0.25f, 1.7f);
|
||||
}
|
||||
|
||||
return v;
|
||||
|
||||
Reference in New Issue
Block a user