@EventHandler
	public void onInventoryClose(InventoryCloseEvent event) {
		Player player = (Player) event.getPlayer();
		if(bm.getSlot(player.getName())!=null){
			String bankslot = bm.getSlot(player.getName());
			try {
				if(bankslot.contains("/")) {
					loader.saveSlot(event.getInventory(), bankslot.split("/")[0], bankslot.split("/")[1]);
				} else {
					loader.saveSlot(event.getInventory(), player.getName(), bankslot);
				}
				bm.setSlot(player.getName(), null);
				bm.setCurrentSlotContents(player.getName(), null);
			} catch (Exception e) {
				player.sendMessage(Messages.internalError);
				plugin.printException(e);
			}
		}
	}