mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-28 11:27:58 +01:00
parent
c6320cb141
commit
e9b7eee57b
@ -284,6 +284,10 @@ public class StackingTask extends BukkitRunnable {
|
||||
// Make the friend the new stack host.
|
||||
EntityStack newStack = stackManager.updateStack(livingEntity, entity);
|
||||
|
||||
if (newStack == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Add our entity to that stack
|
||||
plugin.getDataManager().createStackedEntity(newStack, newStack.addEntityToStack(livingEntity));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user