Pushing more changes.

This commit is contained in:
Brianna O'Keefe 2018-05-16 14:38:45 -04:00
parent a850399d8b
commit 9a7c589321
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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);