mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-13 19:11:21 +01:00
Added null check for jobs reborn.
This commit is contained in:
parent
d254b491bc
commit
517db57331
@ -118,6 +118,7 @@ public class EntityStack {
|
||||
|
||||
killedLocation.getWorld().spawn(killedLocation, ExperienceOrb.class).setExperience(droppedExp * amount);
|
||||
|
||||
if (killed.getKiller() == null) return;
|
||||
UltimateStacker.getInstance().addExp(killed.getKiller(), this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user