Duplicate IP prevention / Removed overflow inventories

This commit is contained in:
Anuken
2021-01-18 20:17:59 -05:00
parent 4aa2d9097f
commit 25b22b4f93
6 changed files with 31 additions and 71 deletions

View File

@@ -197,6 +197,10 @@ abstract class PlayerComp implements UnitController, Entityc, Syncc, Timerc, Dra
return unit.isNull() || !unit.isValid();
}
String ip(){
return con == null ? "localhost" : con.address;
}
String uuid(){
return con == null ? "[LOCAL]" : con.uuid;
}