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:
Camotoy 2021-09-10 15:03:43 -04:00
parent 9136e4b591
commit f32e4725b8
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -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();
} }
/** /**