diff --git a/game/src/main/java/net/driftingsouls/ds2/server/services/SingleUserRelationsService.java b/game/src/main/java/net/driftingsouls/ds2/server/services/SingleUserRelationsService.java index 0e0f71001..82b4c6772 100644 --- a/game/src/main/java/net/driftingsouls/ds2/server/services/SingleUserRelationsService.java +++ b/game/src/main/java/net/driftingsouls/ds2/server/services/SingleUserRelationsService.java @@ -89,6 +89,10 @@ public User.Relation beziehungVon(int otherUserId) var userRelations = getUserRelationData(); var relation = userRelations.get(otherUserId); + + if(relation == null) { + return User.Relation.ENEMY; + } return User.getRelation(relation.getRelationFrom()); } }