~ Changed something to fix 580afb0.
This commit is contained in:
parent
4d3467a259
commit
6d695775c1
@ -22,7 +22,6 @@ public class OnInventoryCloseEvent implements Listener {
|
|||||||
public void onInventoryCloseEvent(InventoryCloseEvent event) {
|
public void onInventoryCloseEvent(InventoryCloseEvent event) {
|
||||||
Inventory inv = event.getInventory();
|
Inventory inv = event.getInventory();
|
||||||
if (inv.getType().equals(InventoryType.CHEST)) {
|
if (inv.getType().equals(InventoryType.CHEST)) {
|
||||||
if (inv.getName().startsWith("\u00A7r")) {
|
|
||||||
if (inv.getName().contains("DisguiseBlocks")) {
|
if (inv.getName().contains("DisguiseBlocks")) {
|
||||||
String arenaname = inv
|
String arenaname = inv
|
||||||
.getItem(0)
|
.getItem(0)
|
||||||
@ -53,7 +52,6 @@ public class OnInventoryCloseEvent implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public void save(Arena arena) {
|
public void save(Arena arena) {
|
||||||
W.arenas.getFile().set(arena.arenaName, arena);
|
W.arenas.getFile().set(arena.arenaName, arena);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user