Update MinecraftReflection exception messages
The messages incorrectly identified the minecraft server package as "net.mineraft.server" This commit fixes that Although it is only a minor spelling error, it is worth fixing
Dieser Commit ist enthalten in:
Ursprung
71ce362c8e
Commit
0c9f5e8992
@ -1787,7 +1787,7 @@ public class MinecraftReflection {
|
|||||||
if (!craftItemStackFailed)
|
if (!craftItemStackFailed)
|
||||||
return getBukkitItemByMethod(minecraftItemStack);
|
return getBukkitItemByMethod(minecraftItemStack);
|
||||||
|
|
||||||
throw new RuntimeException("Cannot find CraftItemStack(net.mineraft.server.ItemStack).", e);
|
throw new RuntimeException("Cannot find CraftItemStack(net.minecraft.server.ItemStack).", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1805,7 +1805,7 @@ public class MinecraftReflection {
|
|||||||
craftNMSMethod = getCraftItemStackClass().getMethod("asCraftMirror", minecraftItemStack.getClass());
|
craftNMSMethod = getCraftItemStackClass().getMethod("asCraftMirror", minecraftItemStack.getClass());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
craftItemStackFailed = true;
|
craftItemStackFailed = true;
|
||||||
throw new RuntimeException("Cannot find CraftItemStack.asCraftMirror(net.mineraft.server.ItemStack).", e);
|
throw new RuntimeException("Cannot find CraftItemStack.asCraftMirror(net.minecraft.server.ItemStack).", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren