Skip to content

Commit

Permalink
Change NickName to ServerNickname
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Apr 29, 2022
1 parent 62f0be4 commit eaed1aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/emu/grasscutter/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public static class RegionInfo {

public static class GameServerOptions {
public String Name = "Test";
public String NickName = "Server";
public String Ip = "0.0.0.0";
public String PublicIp = "127.0.0.1";
public int Port = 22102;
Expand All @@ -71,6 +70,7 @@ public static class GameServerOptions {
public int MaxAvatarsInTeamMultiplayer = 4;
public int MaxEntityLimit = 1000; // Max entity limit per world. // TODO: Enforce later.
public boolean WatchGacha = false;
public String ServerNickname = "Server";
public int ServerAvatarId = 10000007;
public int[] WelcomeEmotes = {2007, 1002, 4010};
public String WelcomeMotd = "Welcome to Grasscutter emu";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/emu/grasscutter/GameConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public final class GameConstants {
public static final int MAX_TEAMS = 4;
public static final int MAIN_CHARACTER_MALE = 10000005;
public static final int MAIN_CHARACTER_FEMALE = 10000007;
public static final String SERVER_AVATAR_NAME = Grasscutter.getConfig().getGameServerOptions().ServerNickname;
public static final int SERVER_AVATAR_ID = Grasscutter.getConfig().getGameServerOptions().ServerAvatarId;
public static final String SERVER_AVATAR_NAME = Grasscutter.getConfig().getGameServerOptions().NickName;
public static final Position START_POSITION = new Position(2747, 194, -1719);

public static final int MAX_FRIENDS = 45;
Expand Down

0 comments on commit eaed1aa

Please sign in to comment.