Merge branch '1.14.4' into 1.15.2
This commit is contained in:
@@ -100,7 +100,7 @@ public class BaritoneChatControl implements Helper, AbstractGameEventListener {
|
||||
return false;
|
||||
} else if (msg.trim().equalsIgnoreCase("orderpizza")) {
|
||||
try {
|
||||
((IGuiScreen) mc.currentScreen).openLink(new URI("https://www.dominos.com/en/pages/order/"));
|
||||
((IGuiScreen) mc.currentScreen).openLinkInvoker(new URI("https://www.dominos.com/en/pages/order/"));
|
||||
} catch (NullPointerException | URISyntaxException ignored) {}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -21,5 +21,5 @@ import java.net.URI;
|
||||
|
||||
public interface IGuiScreen {
|
||||
|
||||
void openLink(URI url);
|
||||
void openLinkInvoker(URI url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user