Avoid NPE

This commit is contained in:
Magnus Ulf
2019-02-10 19:06:00 +01:00
parent c0a6e0481c
commit b5cade3793
2 changed files with 7 additions and 3 deletions

View File

@ -43,7 +43,8 @@ public class MPlayer extends SenderEntity<MPlayer> implements FactionsParticipat
// META
// -------------------------------------------- //
public static MPlayer get(Object oid) {
public static MPlayer get(Object oid)
{
return MPlayerColl.get().get(oid);
}