Fix tags not setting after loading (FS-288)

This commit is contained in:
Nathan Curran 2021-06-07 11:12:49 +10:00
parent 3f970a50d8
commit 8263e8b20f
No known key found for this signature in database
GPG key ID: B3A964B30C2E56B8

View file

@ -48,6 +48,7 @@ public class Guild
Map<String, Location> warps, Map<String, Location> warps,
String defaultRank, String defaultRank,
State state, State state,
String tag,
String motd, String motd,
double x, double x,
double y, double y,
@ -64,6 +65,7 @@ public class Guild
this.warps = warps; this.warps = warps;
this.defaultRank = defaultRank; this.defaultRank = defaultRank;
this.state = state; this.state = state;
this.tag = tag;
this.motd = motd; this.motd = motd;
World w; World w;
if (world == null) if (world == null)
@ -93,6 +95,7 @@ public class Guild
null, null,
State.OPEN, State.OPEN,
null, null,
null,
0, 0,
50, 50,
0, 0,
@ -203,6 +206,7 @@ public class Guild
warps, warps,
set.getString("default_rank"), set.getString("default_rank"),
State.fromInt(set.getInt("state")), State.fromInt(set.getInt("state")),
set.getString("tag"),
set.getString("motd"), set.getString("motd"),
set.getDouble("x"), set.getDouble("x"),
set.getDouble("y"), set.getDouble("y"),