Skip to content
This repository was archived by the owner on Jun 7, 2022. It is now read-only.

Commit ed3c0b4

Browse files
einrobinGiantTreeLP
authored andcommitted
Remove double "." when getting nms class
1 parent 22a84d6 commit ed3c0b4

File tree

1 file changed

+1
-1
lines changed
  • cloudnet-api/cloudnet-api-bridge/src/main/java/de/dytanic/cloudnet/bridge/internal/util

1 file changed

+1
-1
lines changed

cloudnet-api/cloudnet-api-bridge/src/main/java/de/dytanic/cloudnet/bridge/internal/util/ReflectionUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static Class<?> reflectNMSClazz(String suffix) {
4646
return Class.forName("net.minecraft.server." + version + suffix);
4747
} catch (Exception ex) {
4848
try {
49-
return Class.forName("net.minecraft.server." + suffix);
49+
return Class.forName("net.minecraft.server" + suffix);
5050
} catch (ClassNotFoundException e) {
5151
}
5252
}

0 commit comments

Comments
 (0)