Add killWholeStackOnDeath setting to the API

This commit is contained in:
ceze88 2023-06-13 12:12:28 +02:00
parent b59f3f06d5
commit 4d8e630697
2 changed files with 7 additions and 0 deletions

View File

@ -297,4 +297,9 @@ public class Settings implements com.craftaro.ultimatestacker.api.Settings {
public int getMaxItemStackSize() {
return MAX_STACK_ITEMS.getInt();
}
@Override
public boolean killWholeStackOnDeath() {
return KILL_WHOLE_STACK_ON_DEATH.getBoolean();
}
}

View File

@ -7,5 +7,7 @@ public interface Settings {
*/
int getMaxItemStackSize();
boolean killWholeStackOnDeath();
}