OtherDrops

226k Downloads

1.5.1 Issue Block Breaking

Qcbob opened this issue ยท 2 comments

commented

Hi, something strange have been seen while I was performing a drop for a Gold Ore block. I use the last Bukkit Dev for 1.5.1 and OtherDrops v2.8b.334

The idea is, if they are part of that group they got a 10%chance to drop some Gold Nuggets instead of the actual ore. In my permissions with ModifyWorld, I have organize it that they can break ores, but can't replace it to avoid cheating (and silk touch abuse). I don't think that's part of the problem, but I am showing it in case. All drops work very well, it does'nt cause any lag or anything. I am wondering if this big message can cause any problem in the futur.

Here is the way I have configure it:
GOLD_ORE:
- action: BREAK
drop: GOLD_NUGGET/9-12/10%
tool: ANY_PICKAXE
replacementblock: AIR
message: "&c%p &ffound some &e&L Gold Nuggets&f!"
permission: userx

Here is what seen in the console:
18:09:42 [SEVERE] Could not pass event BlockBreakEvent to OtherDrops v2.8b.334
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:462)
at net.minecraft.server.v1_5_R2.PlayerInteractManager.breakBlock(PlayerI
nteractManager.java:282)
at net.minecraft.server.v1_5_R2.PlayerInteractManager.a(PlayerInteractMa
nager.java:209)
at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java
:557)
at net.minecraft.server.v1_5_R2.Packet14BlockDig.handle(SourceFile:46)
at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292
)
at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java
:113)
at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:3
0)
at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:5
80)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:2
25)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:4
76)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java
:409)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:5
73)
Caused by: java.lang.NullPointerException
at com.gmail.zariust.otherdrops.Dependencies.queueBlockBreak(Dependencie
s.java:220)
at com.gmail.zariust.otherdrops.OtherDrops.clearDrops(OtherDrops.java:29
5)
at com.gmail.zariust.otherdrops.OtherDrops.performDrop(OtherDrops.java:2
48)
at com.gmail.zariust.otherdrops.listener.OdBlockListener.onBlockBreak(Od
BlockListener.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:425)
... 16 more

Here is part of my PermissionsEx permissions:
permissions:
- -modifyworld.blocks.place.(14|15|16|21|56|82|83|129)
- modifyworld.*
- otherdrops.custom.userx

Thanks for your time!

commented

I use LogBlock 1.70 the one from the Bukkit download page. I have check their page on Bukkit and it seem to have bugs with the 1.5.1. I will try to test without it and with the new dev build. Thanks for the advise, I never thought LogBlock could have been involve in this.

commented

Seems to be an issue with LogBlock - what version of LogBlock are you using?