From c918a1b6d8008773e9beebb48ba1a770405aee20 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 22 Aug 2019 19:54:41 -0400 Subject: Bulk update back to sanity --- .../commands/CommandCurrentBlessing.java | 26 +++++++--------------- 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'YWD/src/main/java/fyresmodjam/commands/CommandCurrentBlessing.java') diff --git a/YWD/src/main/java/fyresmodjam/commands/CommandCurrentBlessing.java b/YWD/src/main/java/fyresmodjam/commands/CommandCurrentBlessing.java index 09b82df..95bdad9 100755 --- a/YWD/src/main/java/fyresmodjam/commands/CommandCurrentBlessing.java +++ b/YWD/src/main/java/fyresmodjam/commands/CommandCurrentBlessing.java @@ -32,43 +32,33 @@ public class CommandCurrentBlessing implements ICommand { } @Override - public void processCommand(ICommandSender icommandsender, - String[] astring) { + public void processCommand(ICommandSender icommandsender, String[] astring) { if (icommandsender instanceof EntityPlayer) { EntityPlayer entityplayer = (EntityPlayer) icommandsender; - boolean hasBlessing = BlessingUtils - .hasBlessing(entityplayer); + boolean hasBlessing = BlessingUtils.hasBlessing(entityplayer); String blessingMsg = ""; if (hasBlessing) { - Blessing bless = BlessingUtils - .getBlessingInstance( - entityplayer); - - blessingMsg = String.format( - "§eCurrent Blessing - §o%s\n%s", - bless.customName(), - bless.description()); + Blessing bless = BlessingUtils.getBlessingInstance(entityplayer); + + blessingMsg = String.format("§eCurrent Blessing - §o%s\n%s", bless.customName(), bless.description()); } else { blessingMsg = "You don't currently have a blessing"; } - NewPacketHandler.SEND_MESSAGE.sendToPlayer( - entityplayer, blessingMsg); + NewPacketHandler.SEND_MESSAGE.sendToPlayer(entityplayer, blessingMsg); } } @Override - public boolean canCommandSenderUseCommand( - ICommandSender icommandsender) { + public boolean canCommandSenderUseCommand(ICommandSender icommandsender) { return true; } @Override - public List addTabCompletionOptions(ICommandSender icommandsender, - String[] astring) { + public List addTabCompletionOptions(ICommandSender icommandsender, String[] astring) { return null; } -- cgit v1.2.3