SPIGOT-6580: Cancelling SlimeSplitEvent Causes Infinite Loop
This commit is contained in:
parent
78d93f77d5
commit
68d403188a
@ -35,7 +35,7 @@
|
||||
+ if (!event.isCancelled() && event.getCount() > 0) {
|
||||
+ k = event.getCount();
|
||||
+ } else {
|
||||
+ super.die();
|
||||
+ super.a(entity_removalreason);
|
||||
+ return;
|
||||
+ }
|
||||
+ List<EntityLiving> slimes = new ArrayList<>(j);
|
||||
|
Loading…
x
Reference in New Issue
Block a user