mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-02-12 01:11:37 +01:00
Debug
This commit is contained in:
parent
b171e4bf81
commit
4b427a9b59
@ -146,13 +146,11 @@ public class EntityStack {
|
|||||||
|
|
||||||
if (Bukkit.getPluginManager().isPluginEnabled("mcMMO")) {
|
if (Bukkit.getPluginManager().isPluginEnabled("mcMMO")) {
|
||||||
String entityMetadataKey = "mcMMO: Spawned Entity";
|
String entityMetadataKey = "mcMMO: Spawned Entity";
|
||||||
if (killed.hasMetadata(entityMetadataKey))
|
if (killed.hasMetadata(entityMetadataKey)) {
|
||||||
|
Bukkit.broadcastMessage("test");
|
||||||
newEntity.setMetadata(entityMetadataKey, new FixedMetadataValue(UltimateStacker.getInstance(), true));
|
newEntity.setMetadata(entityMetadataKey, new FixedMetadataValue(UltimateStacker.getInstance(), true));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (killed.hasMetadata("ES"))
|
|
||||||
newEntity.setMetadata("ES", killed.getMetadata("ES").get(0));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityStack entityStack = stackManager.updateStack(killed, newEntity);
|
EntityStack entityStack = stackManager.updateStack(killed, newEntity);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: UltimateStacker
|
name: UltimateStacker
|
||||||
description: UltimateStacker
|
description: UltimateStacker
|
||||||
version: maven-version-number
|
version: maven-version-number
|
||||||
softdepend: [HolographicDisplays, WorldGuard, EpicSpawners]
|
softdepend: [HolographicDisplays, WorldGuard, EpicSpawners, mcMMO]
|
||||||
main: com.songoda.ultimatestacker.UltimateStacker
|
main: com.songoda.ultimatestacker.UltimateStacker
|
||||||
author: songoda
|
author: songoda
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
|
Loading…
Reference in New Issue
Block a user