Browse Source

Disable output logging on /hat

master
Ryan Fox (flewkey) 2 years ago
committed by Ryan Fox
parent
commit
0bed50f81e
Signed by: flewkey GPG Key ID: 94F56ADFD848851E
  1. 2
      src/party/_2a03/mc/command/HatCommand.java

2
src/party/_2a03/mc/command/HatCommand.java

@ -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;
}));
}