We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc9021 commit f25dba2Copy full SHA for f25dba2
worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/Refraction.java
@@ -23,7 +23,10 @@
23
* Reflection helper to deal with obfuscation.
24
*/
25
public class Refraction {
26
- private static final String MOJANG_MAPPED_CLASS_NAME = "net.minecraft.nbt.ListTag";
+ // Spigot remaps to a v1_21_R7 style, whereas Paper mojmap environments lack this.
27
+ // This is a safer method to determine whether a class is mojmapped, given Spigot now uses
28
+ // mojmapping purely for class names.
29
+ private static final String MOJANG_MAPPED_CLASS_NAME = "org.bukkit.craftbukkit.CraftServer";
30
private static final boolean IS_MOJANG_MAPPED;
31
32
static {
0 commit comments