From d17bcaf0bc1557abd4da5e29fcfd46b0f77f7016 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 3 Jul 2022 12:21:14 +0200 Subject: [PATCH] Update SchematicNode.getElo --- SpigotCore_Main/src/de/steamwar/sql/SchematicNode.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/SchematicNode.java b/SpigotCore_Main/src/de/steamwar/sql/SchematicNode.java index eea35b4..cadf8fd 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SchematicNode.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SchematicNode.java @@ -523,10 +523,6 @@ public class SchematicNode { } public int getElo(int season) { - if (isDir) { - return 0; - } else { - return Provider.impl.getSchematicElo(this, season); - } + return Provider.impl.getSchematicElo(this, season); } }