Fix ender chests not being silent

This commit is contained in:
Jikoo
2023-10-04 22:15:35 -04:00
parent 3cf1aae89b
commit bfcf0233fa

View File

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