Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Fix hologram offset.
Dieser Commit ist enthalten in:
Ursprung
f371419396
Commit
e9d96f2daf
@ -87,7 +87,7 @@ public class EntityPackets {
|
|||||||
EntityTracker tracker = wrapper.user().get(EntityTracker.class);
|
EntityTracker tracker = wrapper.user().get(EntityTracker.class);
|
||||||
if (tracker.getKnownHolograms().contains(entityID)) {
|
if (tracker.getKnownHolograms().contains(entityID)) {
|
||||||
Double newValue = wrapper.get(Type.DOUBLE, 1);
|
Double newValue = wrapper.get(Type.DOUBLE, 1);
|
||||||
newValue += (32D * ViaVersion.getConfig().getHologramYOffset());
|
newValue += (ViaVersion.getConfig().getHologramYOffset());
|
||||||
wrapper.set(Type.DOUBLE, 1, newValue);
|
wrapper.set(Type.DOUBLE, 1, newValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren