SpawnMob

SpawnMob

164k Downloads

Cancelling break event

cstotts opened this issue ยท 4 comments

commented

When you cancel the break event you make it so other plugins don't record the breaking(Precious Stones/Hawkeye/Logblock, etc). Don't cancel it.

commented

Not a problem. Just remove the SetBlockID(0) line and don't
setCancelled(true) and it'll play nicely with other plugins!

On Fri, Nov 11, 2011 at 11:22 AM, Jordan Marshall <
[email protected]

wrote:

I didn't know this. I will try to improve the code, thanks for pointing
this out!


Reply to this email directly or view it on GitHub:
#4 (comment)

commented

I guess I should also add. Thanks for keeping the source public. I made
those changes locally and published it within minutes to our server as a
result.

ALSO, I should tell you that this plugin is now working nicely with HawkEye
and PreciousStones, two of the best administrative plugins out there.

On Fri, Nov 11, 2011 at 12:31 PM, Chris Stotts [email protected] wrote:

Not a problem. Just remove the SetBlockID(0) line and don't
setCancelled(true) and it'll play nicely with other plugins!

On Fri, Nov 11, 2011 at 11:22 AM, Jordan Marshall <
[email protected]

wrote:

I didn't know this. I will try to improve the code, thanks for pointing
this out!


Reply to this email directly or view it on GitHub:
#4 (comment)

commented

I didn't know this. I will try to improve the code, thanks for pointing this out!

commented

Thank you for the help! I am glad to hear you already have it working on your server, I will edit the code now and upload it.