mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 09:39:05 +00:00
remove unnecessary check
This commit is contained in:
1 parent
66afe80c3c
commit
698fcf20ab
1 file changed
+1
-4
@@ -181,10 +181,7 @@ public class ClientTickHandler {
|
||||
|
||||
if (player == null || mc.theWorld == null)
|
||||
return;
|
||||
|
||||
if (ClientHudManager.getInstance() == null || ClientHudManager.getInstance().getHudComponents() == null)
|
||||
return;
|
||||
|
||||
|
||||
// Update compass
|
||||
HudComponent compass = ClientHudManager.getInstance()
|
||||
.getHudComponents().get(EnumHudComponent.QuestCompass);
|
||||
|
||||
Reference in new issue
Block a user