Sets the always on option to true for bungee portals and removes some unnecessary checks

This commit is contained in:
2021-11-05 21:40:06 +01:00
parent 80ff241d4b
commit 0297d62d6d
6 changed files with 13 additions and 13 deletions

View File

@ -30,12 +30,12 @@ public final class MaterialHelper {
/**
* Checks whether the given material is a container
*
*
* @param material <p>The material to check</p>
* @return <p>True if the material is a container</p>
*/
public static boolean isContainer(Material material) {
return Tag.SHULKER_BOXES.isTagged(material) || material == Material.CHEST ||
return Tag.SHULKER_BOXES.isTagged(material) || material == Material.CHEST ||
material == Material.TRAPPED_CHEST || material == Material.ENDER_CHEST;
}