mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-07 19:28:11 +01:00
Add warning when wrong ItemStackSerializer is used
This commit is contained in:
parent
eba5792d91
commit
97917ad4b9
@ -55,6 +55,7 @@ public InventorySerializer(Logger logger)
|
||||
}
|
||||
if(serializer == null)
|
||||
{
|
||||
logger.severe("NBTItemStackSerializer does not support your Minecraft version!\nFalling back to BukkitItemStackSerializer! This most likely is wrong!");
|
||||
usedSerializer = 0;
|
||||
serializer = BUKKIT_ITEM_STACK_SERIALIZER;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user