set default color to black instead of white

This commit is contained in:
Pyrbu 2023-06-26 13:05:09 +02:00
parent 2a19c974b8
commit 984d7e873d
2 changed files with 2 additions and 2 deletions

@ -53,7 +53,7 @@ public class PropertyCommand implements CommandHandler {
valueName = "NONE";
}
else if (type == Color.class && context.argSize() < 1 && npc.getProperty(property) != null) {
value = Color.WHITE;
value = Color.BLACK;
valueName = "NONE";
}
else {

@ -51,7 +51,7 @@ public class EntityPropertyRegistryImpl implements EntityPropertyRegistry {
registerType("offhand", ItemStack.class);
registerType("using_item", false); // TODO: fix it for 1.8 and add new property to use offhand item and riptide animation
registerType("potion_color", Color.WHITE);
registerType("potion_color", Color.BLACK);
registerType("potion_ambient", false);
registerType("shaking", false);
registerType("baby", false); // TODO