We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584f4de commit 4e6fdf0Copy full SHA for 4e6fdf0
src/main/java/com/fix3dll/skyblockaddons/features/outline/EntityOutlineRenderer.java
@@ -84,6 +84,10 @@ public static boolean isRenderEntityOutlinesConditionsMet() {
84
* @return {@code true} if outlines should be rendered
85
*/
86
public static boolean shouldRenderEntityOutlines(Entity entity) {
87
+ if (entity == null) {
88
+ return false;
89
+ }
90
+
91
if (!isRenderEntityOutlinesConditionsMet()) {
92
return false;
93
}
0 commit comments