Spigot SecretDoors 1.5.3

Make Secret Doors

  1. I get error, when start the plugin: [1.14.4, paper spigot, java 1.8.0]
    upload_2020-11-10_20-18-38.png
     
  2. Ill have that fixed
     
  3. Thank you very much for working on this plugin.
    Unfortunately getting the following errors when trying to use secret trapdoors (which are not working):

    Console : [17:38:19] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to SecretDoors v1.5.3
    Console : org.bukkit.event.EventException: null
    Console : at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:483) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.PlayerInteractManager.a(PlayerInteractManager.java:447) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1356) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:27) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:942) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:935) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:851) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
    Console : Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_16_R3.block.impl.CraftTrapdoor cannot be cast to org.bukkit.block.data.type.Door
    Console : at com.development.trainerlord.secretdoors.SecretDoorHelper.isTopHalf(SecretDoorHelper.java:99) ~[?:?]
    Console : at com.development.trainerlord.secretdoors.SecretDoorHelper.getKeyFromBlock(SecretDoorHelper.java:111) ~[?:?]
    Console : at com.development.trainerlord.secretdoors.SecretDoors.canBeSecretDoor(SecretDoors.java:247) ~[?:?]
    Console : at com.development.trainerlord.secretdoors.listeners.PlayerListener.onDoorBlockClick(PlayerListener.java:121) ~[?:?]
    Console : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_275]
    Console : at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_275]
    Console : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_275]
    Console : at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_275]
    Console : at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot.jar:git-Spigot-628435a-768d7fc]
    Console : ... 20 more
     
  4. No chance of a fix for the above error?
     
  5. There is a bug that when you have the timer enabled, the blocks go back in place but he door remains open. This leaves the secret door unoperable from the outside.