We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ddfd32 commit aa99703Copy full SHA for aa99703
1 file changed
plugin/src/main/java/at/helpch/chatchat/util/ChannelUtils.java
@@ -58,7 +58,7 @@ public static boolean isTargetWithinRadius(
58
final World sourceWorld = sourceLocation.getWorld();
59
final World targetWorld = targetLocation.getWorld();
60
61
- if(sourceWorld != null && targetWorld != null && !sourceWorld.getName().equals(targetWorld.getName())) {
+ if(sourceWorld != null && targetWorld != null && !sourceWorld.getUID().equals(targetWorld.getUID())) {
62
return false;
63
}
64
0 commit comments