Add 'followmap' and 'followzoom' to allow setting of map and zoom when starting to follow a player
This commit is contained in:
parent
204b54155a
commit
a5bc33e1e9
3 changed files with 16 additions and 1 deletions
|
|
@ -55,6 +55,10 @@ public class ClientConfigurationComponent extends Component {
|
|||
}
|
||||
s(t, "defaultworld", c.getString("defaultworld", defaultWorld == null ? "world" : defaultWorld.world.getName()));
|
||||
s(t, "defaultmap", c.getString("defaultmap", defmap == null ? "surface" : defmap));
|
||||
if(c.getString("followmap", null) != null)
|
||||
s(t, "followmap", c.getString("followmap"));
|
||||
if(c.getInteger("followzoom",-1) >= 0)
|
||||
s(t, "followzoom", c.getInteger("followzoom", 0));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue