1.13.2 MapMeta

Discussion in 'Spigot Plugin Development' started by spede, Jul 7, 2021.

Thread Status:
Not open for further replies.
  1. How fix this error in 1.13.2
    Code (Text):
    [10:52:51] [Server thread/ERROR]: Error occurred while enabling PrisonTop v1.0.1 (Is it up to date?)
    java.lang.ClassCastException: org.bukkit.craftbukkit.v1_13_R2.inventory.CraftMetaItem cannot be cast to org.bukkit.inventory.meta.MapMeta
        at com.mankrash.easy.BannerMapImage.<init>(BannerMapImage.java:147) ~[?:?]
        at com.mankrash.easy.BannerMain.onEnable(BannerMain.java:43) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.13.2.jar:git-Paper-655]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:334) ~[patched_1.13.2.jar:git-Paper-655]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) ~[patched_1.13.2.jar:git-Paper-655]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:443) ~[patched_1.13.2.jar:git-Paper-655]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:357) ~[patched_1.13.2.jar:git-Paper-655]
        at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:608) ~[patched_1.13.2.jar:git-Paper-655]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:570) ~[patched_1.13.2.jar:git-Paper-655]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-655]
        at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-655]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-655]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
     

    Attached Files:

Thread Status:
Not open for further replies.