Dropped access trust requirement for boats.
Easily replaced if 'stolen', and might actually belong to a player who drove the boat into the land claim. Allow well meaning visitors to take their boats with them when they go rather than leave boat litter behind.
This commit is contained in:
parent
53b2a8aa8b
commit
5258416db4
|
|
@ -1324,18 +1324,6 @@ class PlayerEventHandler implements Listener
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//for boats, apply access rules
|
|
||||||
else if(entity instanceof Boat)
|
|
||||||
{
|
|
||||||
String noAccessReason = claim.allowAccess(player);
|
|
||||||
if(noAccessReason != null)
|
|
||||||
{
|
|
||||||
player.sendMessage(noAccessReason);
|
|
||||||
event.setCancelled(true);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user