diff --git a/patches/server/Configurable-door-breaking-difficulty.patch b/patches/server/Configurable-door-breaking-difficulty.patch index 699fc5c1cf..f8128de55c 100644 --- a/patches/server/Configurable-door-breaking-difficulty.patch +++ b/patches/server/Configurable-door-breaking-difficulty.patch @@ -19,7 +19,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + private void setupEntityBreakingDoors() { + for (net.minecraft.world.entity.EntityType entityType : entitiesValidForBreakDoors) { + java.util.function.Predicate difficultyPredicate = net.minecraft.world.entity.monster.Zombie.DOOR_BREAKING_PREDICATE; -+ if (entityType.getBaseClass() == net.minecraft.world.entity.monster.Vindicator.class) { ++ if (entityType == net.minecraft.world.entity.EntityType.VINDICATOR) { + difficultyPredicate = net.minecraft.world.entity.monster.Vindicator.DOOR_BREAKING_PREDICATE; + } + entitiesDifficultyBreakDoors.put(