No Creeper Damage
#5
I'm afraid not. You block either everything or nothing. Perhaps we could change the hook. You could return multiple values. If the first returned value is true the entity damage is blocked, and if the second value is true the world destruction is blocked.

If the first is true, but the second is nil we'd block everything so we don't break the existing plugins.
Reply
Thanks given by:


Messages In This Thread
No Creeper Damage - by Jammet - 01-18-2016, 01:10 AM
RE: No Creeper Damage - by DiamondToaster - 01-18-2016, 05:10 PM
RE: No Creeper Damage - by NiLSPACE - 01-18-2016, 06:18 PM
RE: No Creeper Damage - by Schwertspize - 01-18-2016, 09:07 PM
RE: No Creeper Damage - by NiLSPACE - 01-18-2016, 09:11 PM
RE: No Creeper Damage - by Schwertspize - 01-19-2016, 03:38 AM
RE: No Creeper Damage - by Jammet - 01-19-2016, 03:44 AM
RE: No Creeper Damage - by xoft - 01-19-2016, 05:08 AM
RE: No Creeper Damage - by DiamondToaster - 01-21-2016, 07:33 AM
RE: No Creeper Damage - by Jammet - 01-31-2016, 10:37 PM
RE: No Creeper Damage - by NiLSPACE - 01-31-2016, 10:39 PM
RE: No Creeper Damage - by sphinxc0re - 01-31-2016, 10:40 PM
RE: No Creeper Damage - by Jammet - 02-01-2016, 12:48 AM
RE: No Creeper Damage - by LogicParrot - 02-17-2016, 04:38 AM
RE: No Creeper Damage - by Bogus - 09-11-2017, 01:38 PM
RE: No Creeper Damage - by bearbin - 09-11-2017, 05:59 PM
RE: No Creeper Damage - by Bogus - 09-11-2017, 06:54 PM



Users browsing this thread: 5 Guest(s)