From 6917be4c70bced23a02507884dede85110d50ae5 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 10 Mar 2023 12:17:34 +0100 Subject: [PATCH] Update CommonCore, Testfix waterlogged Hider --- CommonCore | 2 +- SpigotCore_14/src/de/steamwar/techhider/BlockIds14.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CommonCore b/CommonCore index 36bb4db..7474478 160000 --- a/CommonCore +++ b/CommonCore @@ -1 +1 @@ -Subproject commit 36bb4db5152940eb9b190552607c23079f6abee6 +Subproject commit 7474478489da42735a32e84b3f91144c64847e30 diff --git a/SpigotCore_14/src/de/steamwar/techhider/BlockIds14.java b/SpigotCore_14/src/de/steamwar/techhider/BlockIds14.java index 6e6ff1a..322ce20 100644 --- a/SpigotCore_14/src/de/steamwar/techhider/BlockIds14.java +++ b/SpigotCore_14/src/de/steamwar/techhider/BlockIds14.java @@ -40,7 +40,7 @@ public class BlockIds14 implements BlockIds { private static final Reflection.MethodInvoker getStates = Reflection.getTypedMethod(TechHider.block, null, blockStateList); private static final Reflection.MethodInvoker getStateList = Reflection.getTypedMethod(blockStateList, null, ImmutableList.class); - private static final Object water = Reflection.getTypedMethod(fluidTypeFlowing, null, fluid).invoke(Reflection.getField(Reflection.getClass("{nms.world.level.material}.FluidTypes"), fluidTypeFlowing, 1).get(null)); + private static final Object water = Reflection.getTypedMethod(fluidTypeFlowing, null, fluid, boolean.class).invoke(Reflection.getField(Reflection.getClass("{nms.world.level.material}.FluidTypes"), fluidTypeFlowing, 1).get(null), false); private static final Iterable registryBlockId = (Iterable) Reflection.getField(TechHider.block, Reflection.getClass("{nms.core}.RegistryBlockID"), 0).get(null); private static final Reflection.MethodInvoker getFluid = Reflection.getTypedMethod(TechHider.iBlockData, null, fluid); @Override