api/src/main/java/net/wesjd/anvilgui/AnvilGUI.java
public void closeInventory() {
		if (!open) {
			return;
		}

		open = false;

		WRAPPER.handleInventoryCloseEvent(player);
		WRAPPER.setActiveContainerDefault(player);
		WRAPPER.sendPacketCloseWindow(player, containerId);

		HandlerList.unregisterAll(listener);

		if(closeListener != null) {
			closeListener.accept(player);
		}
	}
/**
	 * Closes the inventory if it's open.
	 */
Closes the inventory if it's open.
Closes the inventory if it ' s open .
public void closeInventory() {
		if (!open) {
			return;
		}
		open = false;
		WRAPPER.handleInventoryCloseEvent(player);
		WRAPPER.setActiveContainerDefault(player);
		WRAPPER.sendPacketCloseWindow(player, containerId);
		HandlerList.unregisterAll(listener);
		if(closeListener != null) {
			closeListener.accept(player);
		}
	}
public void closeInventory ( ) { if ( ! open ) { return ; } open = false ; WRAPPER . handleInventoryCloseEvent ( player ) ; WRAPPER . setActiveContainerDefault ( player ) ; WRAPPER . sendPacketCloseWindow ( player , containerId ) ; HandlerList . unregisterAll ( listener ) ; if ( closeListener != null ) { closeListener . accept ( player ) ; } }
Closes the inventory if it's open.
Closes the inventory if it ' s open .