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

Commit cacb54c

Browse files
committed
Improve ReflectionUtil for Minecraft 1.17
1 parent da5208c commit cacb54c

File tree

1 file changed

+1
-0
lines changed
  • simplixcore-minecraft/simplixcore-minecraft-spigot/simplixcore-minecraft-spigot-implementation/src/main/java/dev/simplix/core/minecraft/spigot/util

1 file changed

+1
-0
lines changed

simplixcore-minecraft/simplixcore-minecraft-spigot/simplixcore-minecraft-spigot-implementation/src/main/java/dev/simplix/core/minecraft/spigot/util/ReflectionUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public static Class<?> getClass(String classname) throws ClassNotFoundException
4646
: "." + serverVersion()))
4747
.replace("{obc}", "org.bukkit.craftbukkit." + serverVersion());
4848
Class<?> out = CACHED_CLASSES.get(path);
49+
4950
if (out == null) {
5051
out = Class.forName(path);
5152
CACHED_CLASSES.put(path, out);

0 commit comments

Comments
 (0)