mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-27 04:25:21 +01:00
Removed hologram initial deployment spawner verification.
This commit is contained in:
parent
5308d1bf44
commit
8b53d1c4ce
@ -342,8 +342,6 @@ public class UltimateStacker extends SongodaPlugin {
|
||||
public void updateHologram(SpawnerStack stack) {
|
||||
// are holograms enabled?
|
||||
if(!Settings.SPAWNER_HOLOGRAMS.getBoolean() || !HologramManager.getManager().isEnabled()) return;
|
||||
// verify that this is a spawner stack
|
||||
if (stack.getLocation().getBlock().getType() != CompatibleMaterial.SPAWNER.getMaterial()) return;
|
||||
// grab the spawner block
|
||||
CreatureSpawner creatureSpawner = (CreatureSpawner) stack.getLocation().getBlock().getState();
|
||||
String name = Methods.compileSpawnerName(creatureSpawner.getSpawnedType(), stack.getAmount());
|
||||
|
Loading…
Reference in New Issue
Block a user