mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-30 19:21:22 +01:00
Debug
This commit is contained in:
parent
b171e4bf81
commit
4b427a9b59
@ -146,13 +146,11 @@ public class EntityStack {
|
||||
|
||||
if (Bukkit.getPluginManager().isPluginEnabled("mcMMO")) {
|
||||
String entityMetadataKey = "mcMMO: Spawned Entity";
|
||||
if (killed.hasMetadata(entityMetadataKey))
|
||||
if (killed.hasMetadata(entityMetadataKey)) {
|
||||
Bukkit.broadcastMessage("test");
|
||||
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);
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: UltimateStacker
|
||||
description: UltimateStacker
|
||||
version: maven-version-number
|
||||
softdepend: [HolographicDisplays, WorldGuard, EpicSpawners]
|
||||
softdepend: [HolographicDisplays, WorldGuard, EpicSpawners, mcMMO]
|
||||
main: com.songoda.ultimatestacker.UltimateStacker
|
||||
author: songoda
|
||||
api-version: 1.13
|
||||
|
Loading…
Reference in New Issue
Block a user