Dig Blocks, item not dropping
#1
I have the following code in my plugin CRPG, similar to bukkit's MCMMO. It's almost ready for release however, I have the following code

Code:
   World = Player:GetWorld()
   World:DigBlock(BlockX, BlockY, BlockZ)


And it is working fine in that it's destroying the blocks a character clicks on, however I'm unsure of how to get the blocks to be instantly destroyed and have the item drop like normal. Is there some class for this that can do this?

Any help with this would be greatly appreciated!
Reply
Thanks given by:


Messages In This Thread
Dig Blocks, item not dropping - by ImCrafted - 06-05-2017, 07:13 AM
RE: Dig Blocks, item not dropping - by ImCrafted - 06-05-2017, 03:03 PM
RE: Dig Blocks, item not dropping - by ImCrafted - 06-05-2017, 04:27 PM
RE: Dig Blocks, item not dropping - by ImCrafted - 06-05-2017, 04:35 PM
RE: Dig Blocks, item not dropping - by xoft - 06-05-2017, 05:08 PM
RE: Dig Blocks, item not dropping - by ImCrafted - 06-05-2017, 05:24 PM
RE: Dig Blocks, item not dropping - by xoft - 06-05-2017, 10:03 PM



Users browsing this thread: 6 Guest(s)