[Idea]: Folia support for OpenInv #196

Closed
reabuc wants to merge 137 commits from master into master
78 changed files with 7526 additions and 3083 deletions
Showing only changes of commit bfcf0233fa - Show all commits

View File

@@ -158,7 +158,8 @@ public interface IAnySilentContainer {
* @return true if the type is a supported container * @return true if the type is a supported container
*/ */
default boolean isAnySilentContainer(@NotNull BlockState blockState) { default boolean isAnySilentContainer(@NotNull BlockState blockState) {
return blockState instanceof InventoryHolder holder && isAnySilentContainer(holder); return blockState instanceof InventoryHolder holder && isAnySilentContainer(holder)
|| blockState instanceof EnderChest;
} }
/** /**