@@ -9,7 +9,7 @@
|
||||
public class ItemDye extends Item implements SignApplicator {
|
||||
|
||||
private static final Map<EnumColor, ItemDye> ITEM_BY_COLOR = Maps.newEnumMap(EnumColor.class);
|
||||
@@ -32,7 +34,17 @@
|
||||
@@ -30,7 +32,17 @@
|
||||
if (entitysheep.isAlive() && !entitysheep.isSheared() && entitysheep.getColor() != this.dyeColor) {
|
||||
entitysheep.level().playSound(entityhuman, (Entity) entitysheep, SoundEffects.DYE_USE, SoundCategory.PLAYERS, 1.0F, 1.0F);
|
||||
if (!entityhuman.level().isClientSide) {
|
||||
|
||||
Reference in New Issue
Block a user