From 9f7cba19154f4dadf58b7225a5db47574d487105 Mon Sep 17 00:00:00 2001 From: AJ Ferguson Date: Wed, 8 Jan 2020 19:48:03 -0900 Subject: [PATCH] Fix build error caused by mappings submodule --- .../src/main/java/org/geysermc/connector/utils/Toolbox.java | 2 +- connector/src/main/resources/mappings | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/utils/Toolbox.java b/connector/src/main/java/org/geysermc/connector/utils/Toolbox.java index 619e6f8e2..b90aa2352 100644 --- a/connector/src/main/java/org/geysermc/connector/utils/Toolbox.java +++ b/connector/src/main/java/org/geysermc/connector/utils/Toolbox.java @@ -133,7 +133,7 @@ public class Toolbox { continue bedrockLoop; Object bedrockStateValue = bedrockStateTag.getValue(); if (bedrockStateValue instanceof Byte) - bedrockStateValue = ((Byte) bedrockStateValue).intValue(); + bedrockStateValue = ((Byte) bedrockStateValue) != 0; if (!stateEntry.getValue().equals(bedrockStateValue)) continue bedrockLoop; } diff --git a/connector/src/main/resources/mappings b/connector/src/main/resources/mappings index b9308a646..1ad8a1941 160000 --- a/connector/src/main/resources/mappings +++ b/connector/src/main/resources/mappings @@ -1 +1 @@ -Subproject commit b9308a64699fabb7510a05d3b270ccd6dd52b635 +Subproject commit 1ad8a19417391710d34d72214e3aa430f84740cd