Revert API changes, fix SpecialPlayerInventory implementation

This commit is contained in:
Jikoo
2019-05-05 12:40:47 -04:00
parent e4d0020296
commit 185f037254
51 changed files with 121 additions and 1091 deletions

View File

@@ -17,20 +17,18 @@
package com.lishid.openinv.internal;
import org.bukkit.entity.Player;
import org.bukkit.inventory.InventoryView;
import org.bukkit.inventory.Inventory;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface ISpecialEnderChest {
/**
* Gets the InventoryView associated with this ISpecialEnderChest.
* Gets the Inventory associated with this ISpecialEnderChest.
*
* @param viewer the Player opening the ISpecialEnderChest
* @return the InventoryView
* @return the Inventory
*/
@NotNull
InventoryView getBukkitView(@Nullable Player viewer);
Inventory getBukkitInventory();
/**
* Sets the Player associated with this ISpecialEnderChest online.

View File

@@ -17,20 +17,18 @@
package com.lishid.openinv.internal;
import org.bukkit.entity.Player;
import org.bukkit.inventory.InventoryView;
import org.bukkit.inventory.Inventory;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface ISpecialPlayerInventory {
/**
* Gets the InventoryView associated with this ISpecialPlayerInventory.
* Gets the Inventory associated with this ISpecialPlayerInventory.
*
* @param viewer the Player opening the ISpecialPlayerInventory
* @return the InventoryView
* @return the Inventory
*/
@NotNull
InventoryView getBukkitView(@Nullable Player viewer);
Inventory getBukkitInventory();
/**
* Sets the Player associated with this ISpecialPlayerInventory online.