mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-03 22:37:41 +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
|
@Override
|
||||||
public void onDataLoad() {
|
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.
|
// Load current data.
|
||||||
final boolean useSpawnerHolo = Settings.SPAWNER_HOLOGRAMS.getBoolean();
|
final boolean useSpawnerHolo = Settings.SPAWNER_HOLOGRAMS.getBoolean();
|
||||||
this.dataManager.getSpawners((spawners) -> {
|
this.dataManager.getSpawners((spawners) -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user