mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-02-28 17:21:02 +01:00
Merge branch 'development'
This commit is contained in:
commit
48367f5de6
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>UltimateStacker</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>1.11.10</version>
|
||||
<version>1.11.11</version>
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
<finalName>UltimateStacker-${project.version}</finalName>
|
||||
|
@ -2,6 +2,7 @@ package com.songoda.ultimatestacker.entity;
|
||||
|
||||
import com.songoda.core.compatibility.CompatibleMaterial;
|
||||
import com.songoda.core.compatibility.ServerVersion;
|
||||
import com.songoda.core.utils.EntityUtils;
|
||||
import com.songoda.lootables.loot.Drop;
|
||||
import com.songoda.ultimatestacker.UltimateStacker;
|
||||
import com.songoda.ultimatestacker.settings.Settings;
|
||||
@ -157,6 +158,9 @@ public class EntityStack {
|
||||
newEntity.setMetadata(entry.getKey(), entry.getValue());
|
||||
}
|
||||
|
||||
if (!EntityUtils.isAware(killed))
|
||||
EntityUtils.setUnaware(newEntity);
|
||||
|
||||
DropUtils.processStackedDrop(killed, drops, event);
|
||||
|
||||
EntityStack entityStack = stackManager.updateStack(killed, newEntity);
|
||||
|
Loading…
Reference in New Issue
Block a user