mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-31 21:07:47 +01:00
Added a hologram offset.
This commit is contained in:
parent
c923493134
commit
027722b9cc
@ -228,6 +228,10 @@ public class UltimateStacker extends SongodaPlugin {
|
||||
|
||||
@Override
|
||||
public void onDataLoad() {
|
||||
if (HologramManager.isEnabled())
|
||||
// Set the offset so that the holograms don't end up inside the blocks.
|
||||
HologramManager.getHolograms().setPositionOffset(.5,.65,.5);
|
||||
|
||||
// Load current data.
|
||||
final boolean useSpawnerHolo = Settings.SPAWNER_HOLOGRAMS.getBoolean();
|
||||
this.dataManager.getSpawners((spawners) -> {
|
||||
|
Loading…
Reference in New Issue
Block a user