mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 03:00:29 +01:00
Fixed Slime split detection
This commit is contained in:
parent
4f19d745a4
commit
8f3bcd8ad7
@ -531,7 +531,7 @@ public class Entity implements Listener {
|
||||
boolean isSplit = event.getSpawnReason().equals(SpawnReason.SLIME_SPLIT);
|
||||
boolean splitBypass = configLoad.getBoolean("Island.Challenge.PerIsland", true);
|
||||
|
||||
if(!isSplit || splitBypass){
|
||||
if(!isSplit || !splitBypass){
|
||||
long count = limits.getEntityCount(island, skyblock.getWorldManager().getIslandWorld(entityLocation.getWorld()), type);
|
||||
if (limits.hasTooMuch(count + 1, type)) {
|
||||
entity.remove();
|
||||
|
Loading…
Reference in New Issue
Block a user