mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-23 19:16:40 +01:00
Don't consider vehicles a known cause.
Fixes WORLDGUARD-3170.
This commit is contained in:
parent
125595e6b9
commit
db31c35d8e
@ -78,7 +78,7 @@ public boolean isKnown() {
|
||||
|
||||
boolean found = false;
|
||||
for (Object object : causes) {
|
||||
if (!(object instanceof TNTPrimed)) {
|
||||
if (!(object instanceof TNTPrimed) && !(object instanceof Vehicle)) {
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user