Archiviert
13
0

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:
glen3b 2014-05-02 19:44:33 -07:00
Ursprung 71ce362c8e
Commit 0c9f5e8992

Datei anzeigen

@ -1787,7 +1787,7 @@ public class MinecraftReflection {
if (!craftItemStackFailed)
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());
} catch (Exception e) {
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);
}
}