diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java index a9f97013f..5612582f8 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java @@ -376,7 +376,7 @@ public class PlayerEventListener implements Listener { @EventHandler public void onVehicleEntityCollision(VehicleEntityCollisionEvent e) { - if (e.getEntity() instanceof Boat) { + if (e.getVehicle() instanceof Boat) { Location location = BukkitUtil.adapt(e.getEntity().getLocation()); if (location.isPlotArea()) { if (e.getEntity() instanceof Player) {