From bd489a66c7dd035bbbf39479feb0e8bdadeca4a2 Mon Sep 17 00:00:00 2001 From: cola98765 Date: Mon, 17 Jan 2022 15:50:24 +0100 Subject: [PATCH] whatever... deprecation is too hard for me --- .../java/com/seibel/lod/core/util/DataPointUtil.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/com/seibel/lod/core/util/DataPointUtil.java b/src/main/java/com/seibel/lod/core/util/DataPointUtil.java index 8d072dfac..bb871863e 100644 --- a/src/main/java/com/seibel/lod/core/util/DataPointUtil.java +++ b/src/main/java/com/seibel/lod/core/util/DataPointUtil.java @@ -183,18 +183,6 @@ public class DataPointUtil return (byte) ((dataPoint >>> SKY_LIGHT_SHIFT) & SKY_LIGHT_MASK); } - /** - * @deprecated - * this used to take into account default light flag, but thanks to leetom this is no longer necessary - */ - public static byte getLightSkyAlt(long dataPoint) - { - //if (skyLightPlayer == 0 && ((dataPoint >>> FLAG_SHIFT) & FLAG_MASK) == 1) - // return 0; - //else - return (byte) ((dataPoint >>> SKY_LIGHT_SHIFT) & SKY_LIGHT_MASK); - } - public static byte getLightBlock(long dataPoint) { return (byte) ((dataPoint >>> BLOCK_LIGHT_SHIFT) & BLOCK_LIGHT_MASK);