Commit Graph

14 Commits

Author SHA1 Message Date
sk89q
db31c35d8e Don't consider vehicles a known cause.
Fixes WORLDGUARD-3170.
2014-08-31 18:33:14 -07:00
sk89q
f00d73d60e Cause.isKnown() now returns false if it only contains objects that do not properly constitute a cause. 2014-08-24 02:55:57 -07:00
sk89q
c5b08781f7 Build the cause list order correctly. 2014-08-24 02:49:58 -07:00
sk89q
ef56a32f00 Implement PVP flag through abstraction. 2014-08-22 12:47:06 -07:00
sk89q
d8da89703b Handle the TNT flag better in the new system.
Now the build flag works in tandem with the TNT flag.
2014-08-22 11:27:23 -07:00
sk89q
53957e7b26 Add Cause.getFirstBlock(). 2014-08-18 23:31:19 -07:00
sk89q
985629c196 Create RegionFlagsListener and rename some methods. 2014-08-18 19:15:40 -07:00
sk89q
3eb5c65a3d Throw IllegalArgumentException if trackParentCause() is given a Block. 2014-08-18 02:35:41 -07:00
sk89q
3ca147e405 Don't check metadata on Blocks in Cause.
We don't track causes on Blocks. There's no need for the performance hit.
2014-08-17 15:23:34 -07:00
sk89q
41fb8a0722 Implement Associables to handle non-player region membership checks. 2014-08-17 13:16:45 -07:00
sk89q
3f16fef57e Fix and improve protection handlers. 2014-08-15 01:43:37 -07:00
sk89q
eb23e28c16 Handle Tameable as a cause. 2014-08-12 23:17:36 -07:00
sk89q
4379c7e989 Handle Vehicle.getPassenger() as a parent cause. 2014-08-12 23:15:47 -07:00
sk89q
f92e55e061 Simplfy Cause objects. 2014-08-12 19:48:20 -07:00