1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

tag naming consicentencies

This commit is contained in:
Jeffrey Kosse 2022-10-17 13:27:17 +02:00
parent e7d766e229
commit 117a867071
5 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ final class CargoUtils {
} }
Material type = block.getType(); Material type = block.getType();
return SlimefunTag.CARGO_SUPPORTED_INVENTORIES.isTagged(type); return SlimefunTag.CARGO_SUPPORTED_storage_blocks.isTagged(type);
} }
@Nonnull @Nonnull

View File

@ -202,7 +202,7 @@ public abstract class AbstractAutoCrafter extends SlimefunItem implements Energy
protected boolean isValidInventory(@Nonnull Block block) { protected boolean isValidInventory(@Nonnull Block block) {
Material type = block.getType(); Material type = block.getType();
return SlimefunTag.AUTO_CRAFTER_SUPPORTED_STORAGE.isTagged(type); return SlimefunTag.AUTO_CRAFTER_SUPPORTED_STORAGE_blocks.isTagged(type);
} }
/** /**

View File

@ -267,12 +267,12 @@ public enum SlimefunTag implements Tag<Material> {
/** /**
* All storage blocks. * All storage blocks.
*/ */
AUTO_CRAFTER_SUPPORTED_STORAGE, AUTO_CRAFTER_SUPPORTED_STORAGE_blocks,
/** /**
* All blocks with an inventory. * All blocks with an inventory.
*/ */
CARGO_SUPPORTED_INVENTORIES, CARGO_SUPPORTED_storage_blocks,
/** /**
* All tile entities. * All tile entities.