From 5dbff11d7a487ef9b522562d893226312d839f58 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 9 Nov 2023 16:25:24 +0000 Subject: [PATCH] Fixed beds generating with water on them --- .../unicopia/server/world/WaterLoggingManager.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/server/world/WaterLoggingManager.java b/src/main/java/com/minelittlepony/unicopia/server/world/WaterLoggingManager.java index 9d96541e..5b2b57f4 100644 --- a/src/main/java/com/minelittlepony/unicopia/server/world/WaterLoggingManager.java +++ b/src/main/java/com/minelittlepony/unicopia/server/world/WaterLoggingManager.java @@ -37,11 +37,8 @@ public class WaterLoggingManager> { } public void getDefaultState(O owner, CallbackInfoReturnable info) { - if (owner instanceof BedBlock) { - return; - } if (appliesTo(owner, info.getReturnValue())) { - info.setReturnValue(info.getReturnValue().with(Properties.WATERLOGGED, true)); + info.setReturnValue(info.getReturnValue().with(Properties.WATERLOGGED, !(owner instanceof BedBlock))); } }