Rename “friend Sone” to just “friend.”
[Sone.git] / src / main / java / net / pterodactylus / sone / template / SoneAccessor.java
index bed5771..b45e140 100644 (file)
@@ -52,7 +52,7 @@ public class SoneAccessor extends ReflectionAccessor {
                        return getNiceName(sone);
                } else if (member.equals("isFriend")) {
                        Sone currentSone = (Sone) dataProvider.getData("currentSone");
-                       return currentSone.hasFriendSone(sone) ? true : null;
+                       return currentSone.hasFriend(sone) ? true : null;
                } else if (member.equals("isCurrent")) {
                        Sone currentSone = (Sone) dataProvider.getData("currentSone");
                        return currentSone.equals(sone);