mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-30 05:53:39 +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) {
|
public void updateHologram(SpawnerStack stack) {
|
||||||
// are holograms enabled?
|
// are holograms enabled?
|
||||||
if(!Settings.SPAWNER_HOLOGRAMS.getBoolean() || !HologramManager.getManager().isEnabled()) return;
|
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
|
// grab the spawner block
|
||||||
CreatureSpawner creatureSpawner = (CreatureSpawner) stack.getLocation().getBlock().getState();
|
CreatureSpawner creatureSpawner = (CreatureSpawner) stack.getLocation().getBlock().getState();
|
||||||
String name = Methods.compileSpawnerName(creatureSpawner.getSpawnedType(), stack.getAmount());
|
String name = Methods.compileSpawnerName(creatureSpawner.getSpawnedType(), stack.getAmount());
|
||||||
|
Loading…
Reference in New Issue
Block a user