1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-25 21:59:08 +02:00

Readded because of popular demand: default-stack-size for /give and /item, values below 1 return max stack size (or oversized stack size).

This commit is contained in:
snowleo
2011-12-04 23:21:30 +01:00
parent ad60eb538e
commit cb89fe5358
5 changed files with 42 additions and 5 deletions

View File

@@ -86,6 +86,12 @@ public class Settings implements ISettings
{
return config.getInt("oversized-stacksize", 64);
}
@Override
public int getDefaultStackSize()
{
return config.getInt("default-stack-size", -1);
}
@Override
public int getStartingBalance()