mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update world border in constructor
Prevents us from thinking the player is in the border before we get the packet.
This commit is contained in:
parent
9136e4b591
commit
f32e4725b8
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ public class WorldBorder {
|
||||||
|
|
||||||
public WorldBorder(GeyserSession session) {
|
public WorldBorder(GeyserSession session) {
|
||||||
this.session = session;
|
this.session = session;
|
||||||
|
// Initialize all min/max/warning variables
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue