mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-6580: Cancelling SlimeSplitEvent Causes Infinite Loop
By: md_5 <git@md-5.net>
This commit is contained in:
parent
fc07fa5704
commit
bcaff2755a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue