Skip to content

Commit

Permalink
I forgot this file, sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
ZetaMap committed May 3, 2021
1 parent 0eb114d commit 82f7b80
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/main/java/TempPlayerData.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import java.io.Serializable;
import java.util.HashMap;

@SuppressWarnings("serial")
public class TempPlayerData implements Serializable {
public static HashMap<String, TempPlayerData> tempPlayerDatas = new HashMap<>(); // uuid, data
public Integer hue;
public String realName;
public String nameNotSpace;
public String nameNotColor;
public int id;

public TempPlayerData(Integer hue, String name, int id){
this.hue = hue;
this.realName = name;
this.nameNotSpace = name.replaceAll("\\s+", "_");
this.nameNotColor = name.replaceAll("\\[", "[[");
this.id = id;
}
void setHue(int i) {
this.hue = i;
}
}

0 comments on commit 82f7b80

Please sign in to comment.