Bugfix WarkingUserOverUUID
Dieser Commit ist enthalten in:
Ursprung
c0ecde6fd4
Commit
6ed59c5841
@ -72,7 +72,7 @@ public class WarkingUser {
|
||||
|
||||
public static WarkingUser get(UUID uuid){
|
||||
for(WarkingUser user : allUsers)
|
||||
if(user.UserName.equals(uuid))
|
||||
if(user.UUID.equals(uuid))
|
||||
return user;
|
||||
WarkingUser offline = new WarkingUser(uuid);
|
||||
return offline;
|
||||
|
@ -1,6 +1,5 @@
|
||||
package de.warking.hunjy.PlayerManager.events;
|
||||
|
||||
import de.warking.hunjy.MySQL.UserGroup;
|
||||
import de.warking.hunjy.MySQL.WarkingUser;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren