mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-09-19 19:41:04 +02:00
Issue.
This commit is contained in:
parent
f973361a7f
commit
187ebc83c4
@ -256,10 +256,10 @@ public class GUIOverview extends AbstractGUI {
|
|||||||
module.runButtonPress(player, hopper, type);
|
module.runButtonPress(player, hopper, type);
|
||||||
}
|
}
|
||||||
if (inventory.getItem(slot).getItemMeta()
|
if (inventory.getItem(slot).getItemMeta()
|
||||||
.getDisplayName().equals(plugin.getLocale().getMessage("interface.hopper.filtertitle"))) {
|
.getDisplayName().equals(plugin.getLocale().getMessage("interface.hopper.filtertitle").getMessage())) {
|
||||||
new GUIFilter(plugin, hopper, player);
|
new GUIFilter(plugin, hopper, player);
|
||||||
} else if (inventory.getItem(slot).getItemMeta()
|
} else if (inventory.getItem(slot).getItemMeta()
|
||||||
.getDisplayName().equals(plugin.getLocale().getMessage("interface.hopper.perltitle"))) {
|
.getDisplayName().equals(plugin.getLocale().getMessage("interface.hopper.perltitle").getMessage())) {
|
||||||
if (type == ClickType.LEFT) {
|
if (type == ClickType.LEFT) {
|
||||||
if (hopper.getLinkedBlocks() != null) {
|
if (hopper.getLinkedBlocks() != null) {
|
||||||
plugin.getTeleportHandler().tpEntity(player, hopper);
|
plugin.getTeleportHandler().tpEntity(player, hopper);
|
||||||
@ -276,7 +276,7 @@ public class GUIOverview extends AbstractGUI {
|
|||||||
constructGUI();
|
constructGUI();
|
||||||
}
|
}
|
||||||
} else if (inventory.getItem(slot).getItemMeta()
|
} else if (inventory.getItem(slot).getItemMeta()
|
||||||
.getDisplayName().equals(plugin.getLocale().getMessage("interface.hopper.synchopper"))) {
|
.getDisplayName().equals(plugin.getLocale().getMessage("interface.hopper.synchopper").getMessage())) {
|
||||||
if (type == ClickType.RIGHT) {
|
if (type == ClickType.RIGHT) {
|
||||||
plugin.getLocale().getMessage("event.hopper.desync").sendPrefixedMessage(player);
|
plugin.getLocale().getMessage("event.hopper.desync").sendPrefixedMessage(player);
|
||||||
hopper.clearLinkedBlocks();
|
hopper.clearLinkedBlocks();
|
||||||
|
Loading…
Reference in New Issue
Block a user