From 461c1a91b1ee5d3f2fe658deb99721a6515cae69 Mon Sep 17 00:00:00 2001 From: jmr3366 Date: Sun, 1 Sep 2024 10:19:01 -0400 Subject: [PATCH] #4885 hastLightSource will return expected results like 1.14.3 --- .../rptools/maptool/client/functions/TokenLightFunctions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/rptools/maptool/client/functions/TokenLightFunctions.java b/src/main/java/net/rptools/maptool/client/functions/TokenLightFunctions.java index 0ff26df68b..7a3d2d79de 100644 --- a/src/main/java/net/rptools/maptool/client/functions/TokenLightFunctions.java +++ b/src/main/java/net/rptools/maptool/client/functions/TokenLightFunctions.java @@ -187,6 +187,7 @@ public static boolean hasLightSource(Token token, String category, String name) return true; } } + return false; } } if (lightSourcesMap.containsKey(category)) {