Make big backpack warning a bit less confusing

This commit is contained in:
GeorgH93 2020-01-30 16:56:59 +01:00
parent 54f69b41dc
commit 8511409920
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -167,7 +167,10 @@ public int getBackpackMaxSize()
{
int size = getConfigE().getInt("MaxSize", 6);
if(MCVersion.isNewerOrEqualThan(MCVersion.MC_1_14)) size = Math.min(6, size);
if(size > 6) logger.warning("Backpacks with more than 6 rows will not work on MC 1.14");
if(size > 6)
{
logger.info("Starting with MC 1.14 backpacks with more than 6 rows will no longer be possible. A feature to allow bigger backpacks through multiple pages is currently in development.");
}
return Math.max(1, size);
}