YES I DID IT

This commit is contained in:
Logan Darklock
2019-08-31 19:08:43 -07:00
parent 8fc80a285c
commit 544ae24b64
5 changed files with 5 additions and 10 deletions

View File

@@ -36,8 +36,7 @@ public interface Helper {
/** /**
* Instance of {@link Helper}. Used for static-context reference. * Instance of {@link Helper}. Used for static-context reference.
*/ */
Helper HELPER = new Helper() { Helper HELPER = new Helper() {};
};
static ITextComponent getPrefix() { static ITextComponent getPrefix() {
return new TextComponentString("") {{ return new TextComponentString("") {{

View File

@@ -52,8 +52,7 @@ public interface IPlayerContext {
if (world().getBlockState(feet).getBlock() instanceof BlockSlab) { if (world().getBlockState(feet).getBlock() instanceof BlockSlab) {
return feet.up(); return feet.up();
} }
} catch (NullPointerException ignored) { } catch (NullPointerException ignored) {}
}
return feet; return feet;
} }

View File

@@ -112,8 +112,7 @@ public class BaritoneChatControl implements Helper, AbstractGameEventListener {
} else if (msg.trim().equalsIgnoreCase("orderpizza")) { } else if (msg.trim().equalsIgnoreCase("orderpizza")) {
try { try {
((Lol) mc.currentScreen).openLink(new URI("https://www.dominos.com/en/pages/order/")); ((Lol) mc.currentScreen).openLink(new URI("https://www.dominos.com/en/pages/order/"));
} catch (NullPointerException | URISyntaxException ignored) { } catch (NullPointerException | URISyntaxException ignored) {}
}
return false; return false;
} }

View File

@@ -48,8 +48,7 @@ public class PauseResumeCommands {
} }
@Override @Override
public void onLostControl() { public void onLostControl() {}
}
@Override @Override
public double priority() { public double priority() {

View File

@@ -266,8 +266,7 @@ public class ArgConsumer {
return datatype.getConstructor().newInstance().tabComplete(this); return datatype.getConstructor().newInstance().tabComplete(this);
} catch (InstantiationException | IllegalAccessException | InvocationTargetException | NoSuchMethodException e) { } catch (InstantiationException | IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {
e.printStackTrace(); e.printStackTrace();
} catch (CommandException ignored) { } catch (CommandException ignored) {}
}
return Stream.empty(); return Stream.empty();
} }