Hook Bugs?
#2
OnBlockBreak() is really called whenever the client sends a BlockBreak packet. The packet might have only some info updated (the blockface U / V coords, for example).

What we need is an API refactoring, we have already discussed it and we decided we'll get a set of hooks whose names would more descriptive: OnRightClick, OnLeftClick for whenever the packet arrives, OnBlockPlacing / OnBlockPlaced when a block is being placed, OnBlockBreaking / OnBlockBroken when a block is being broken, OnUseEntity when an entity has been rclked, etc. Just no-one got around to actually implement thatTongue
I'm still on vacation, and will be for one more month (yay New Zealand) and FakeTruth is away on vacation, too, so it's now up to you, if you want it really badly Wink
Reply
Thanks given by:


Messages In This Thread
Hook Bugs? - by bearbin - 12-30-2012, 03:28 AM
RE: Hook Bugs? - by xoft - 12-31-2012, 10:50 AM
RE: Hook Bugs? - by xoft - 01-09-2013, 10:04 AM



Users browsing this thread: 1 Guest(s)