1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Bug Fixes; /sf elevator will no longer show up in the Console

This commit is contained in:
mrCookieSlime 2016-04-15 00:37:23 +02:00
parent 6bad9586d2
commit 2830d0be74
2 changed files with 3 additions and 2 deletions

View File

@ -291,6 +291,8 @@ public class SlimefunStartup extends JavaPlugin {
clearlag = getServer().getPluginManager().isPluginEnabled("ClearLag");
if (clearlag) new ClearLaggIntegration(this);
CSCoreLib.getLib().filterLog("([A-Za-z0-9_]{3,16}) issued server command: /sf elevator (.{0,})");
}
}

View File

@ -39,8 +39,7 @@ public class BowListener implements Listener {
@Override
public void run() {
if (Variables.arrows.containsKey(e.getEntity().getUniqueId())) Variables.arrows.remove(e.getEntity().getUniqueId());
handleGrapplingHook((Arrow) e.getEntity());
if (e.getEntity() instanceof Arrow) handleGrapplingHook((Arrow) e.getEntity());
}
}, 3L);
}