mirror of
https://github.com/songoda/EpicFarming.git
synced 2025-01-08 17:28:14 +01:00
Pushing more changes.
This commit is contained in:
parent
a850399d8b
commit
9a7c589321
@ -26,7 +26,7 @@ public class InventoryListeners implements Listener {
|
||||
public void onInventoryClick(InventoryClickEvent event) {
|
||||
try {
|
||||
if (instance.getPlayerActionManager().getPlayerAction((Player)event.getWhoClicked()).getFarm() == null
|
||||
|| event.getInventory() == null) return;
|
||||
|| event.getInventory() == null || event.getRawSlot() >= event.getView().getTopInventory().getSize()) return;
|
||||
|
||||
|
||||
if (event.getInventory().getType() != InventoryType.CHEST) return;
|
||||
|
@ -170,7 +170,6 @@ public class SettingsManager implements Listener {
|
||||
lore.add(Arconix.pl().getApi().format().formatText("&c" + false));
|
||||
else
|
||||
lore.add(Arconix.pl().getApi().format().formatText("&a" + true));
|
||||
|
||||
break;
|
||||
case "java.lang.String":
|
||||
item.setType(Material.PAPER);
|
||||
|
Loading…
Reference in New Issue
Block a user