YES I DID IT
This commit is contained in:
@@ -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("") {{
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -48,8 +48,7 @@ public class PauseResumeCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLostControl() {
|
public void onLostControl() {}
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double priority() {
|
public double priority() {
|
||||||
|
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user