diff --git a/src/main/java/com/gregtechceu/gtceu/common/item/ColorSprayBehaviour.java b/src/main/java/com/gregtechceu/gtceu/common/item/ColorSprayBehaviour.java index 48bf3de53d..c0ffbc0b2a 100644 --- a/src/main/java/com/gregtechceu/gtceu/common/item/ColorSprayBehaviour.java +++ b/src/main/java/com/gregtechceu/gtceu/common/item/ColorSprayBehaviour.java @@ -215,10 +215,10 @@ public InteractionResult onItemUseFirst(ItemStack itemStack, UseOnContext contex private static boolean paintPaintable(IPaintable paintable, DyeColor color) { if (color == null) { - if (paintable.getDefaultPaintingColor() == paintable.getPaintingColor()) { + if (paintable.getPaintingColor() == -1) { return false; } - paintable.setPaintingColor(paintable.getDefaultPaintingColor()); + paintable.setPaintingColor(-1); } else if (paintable.getPaintingColor() != color.getTextColor()) { paintable.setPaintingColor(color.getTextColor()); } else {