1
0

Disable output logging on /hat

This commit is contained in:
Ryan Fox (flewkey) 2019-12-30 22:14:59 +00:00 committed by Ryan Fox
parent 11126c2d47
commit 0bed50f81e
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E

View File

@ -16,7 +16,7 @@ public class HatCommand {
ItemStack head = serverplayerentity.func_184582_a(EquipmentSlotType.HEAD);
serverplayerentity.func_184201_a(EquipmentSlotType.MAINHAND, head);
serverplayerentity.func_184201_a(EquipmentSlotType.HEAD, mainhand);
source.getSource().func_197030_a(new TranslationTextComponent("Swapped items between main hand and head"), true);
source.getSource().func_197030_a(new TranslationTextComponent("Swapped items between main hand and head"), false);
return 1;
}));
}