Blackjack: One more bug. #13


  • New
  • Defect
Open
Assigned to silentnight1990
  • _ForgeUser9237077 created this issue Jul 27, 2012

    What steps will reproduce the problem?
    1. use group manager. Set the following permissions to a specific group, in my case, VIP:
    - sc.blackjack.create
    - sc.blackjack.info
    - sc.blackjack.deposit
    - sc.blackjack.withdraw
    - sc.blackjack.delete
    2. Set the player as NOT OP
    3. When trying to withdraw and/or to destroy the table, you can not.

    What is the expected output? What do you see instead?
    table destroyed. You can't destroy ("wiithdraw") from the table. Or something like that. I do not remember.

    What version of the product are you using?
    1.4.1

    Do you have an error log of what happened?
    27.07 21:16:35 [Server] INFO ... 14 more
    27.07 21:16:35 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    27.07 21:16:35 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601)
    27.07 21:16:35 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    27.07 21:16:35 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    27.07 21:16:35 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    27.07 21:16:35 [Server] INFO at com.brandenBoegh.SignCasino.Blackjack.BlackjackListener.onBlackJackDestroy(BlackjackListener.java:178)
    27.07 21:16:35 [Server] INFO Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlock cannot be cast to org.bukkit.block.Sign
    27.07 21:16:35 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    27.07 21:16:35 [Server] INFO at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
    27.07 21:16:35 [Server] INFO at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:114)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:540)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:175)
    27.07 21:16:35 [Server] INFO at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:220)
    27.07 21:16:35 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    27.07 21:16:35 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    27.07 21:16:35 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
    27.07 21:16:35 [Server] INFO org.bukkit.event.EventException
    27.07 21:16:35 [Server] SEVERE Could not pass event BlockBreakEvent to Sign Casino Blackjack

    Please provide any additional information below.
    Craftbukkir r 4.0 Minecraft 1.2.5
    The slots work properly. Without sc.slots.delete

  • _ForgeUser9237077 added the tags New Defect Jul 27, 2012

To post a comment, please login or register a new account.