--- a/net/minecraft/world/level/block/WaterlilyBlock.java
+++ b/net/minecraft/world/level/block/WaterlilyBlock.java
@@ -15,6 +15,7 @@
 import net.minecraft.world.phys.shapes.VoxelShape;
 
 public class WaterlilyBlock extends BushBlock {
+
     protected static final VoxelShape AABB = Block.box(1.0D, 0.0D, 1.0D, 15.0D, 1.5D, 15.0D);
 
     protected WaterlilyBlock(BlockBehaviour.Properties settings) {
@@ -24,7 +25,8 @@
     @Override
     public void entityInside(BlockState state, Level world, BlockPos pos, Entity entity) {
         super.entityInside(state, world, pos, entity);
-        if (world instanceof ServerLevel && entity instanceof Boat) {
+        if (!new io.papermc.paper.event.entity.EntityInsideBlockEvent(entity.getBukkitEntity(), org.bukkit.craftbukkit.v1_19_R1.block.CraftBlock.at(world, pos)).callEvent()) { return; } // Paper
+        if (world instanceof ServerLevel && entity instanceof Boat && !org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callEntityChangeBlockEvent(entity, pos, Blocks.AIR.defaultBlockState()).isCancelled()) { // CraftBukkit
             world.destroyBlock(new BlockPos(pos), true, entity);
         }
 
@@ -32,13 +34,14 @@
 
     @Override
     public VoxelShape getShape(BlockState state, BlockGetter world, BlockPos pos, CollisionContext context) {
-        return AABB;
+        return WaterlilyBlock.AABB;
     }
 
     @Override
     protected boolean mayPlaceOn(BlockState floor, BlockGetter world, BlockPos pos) {
-        FluidState fluidState = world.getFluidState(pos);
-        FluidState fluidState2 = world.getFluidState(pos.above());
-        return (fluidState.getType() == Fluids.WATER || floor.getMaterial() == Material.ICE) && fluidState2.getType() == Fluids.EMPTY;
+        FluidState fluid = world.getFluidState(pos);
+        FluidState fluid1 = world.getFluidState(pos.above());
+
+        return (fluid.getType() == Fluids.WATER || floor.getMaterial() == Material.ICE) && fluid1.getType() == Fluids.EMPTY;
     }
 }
