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:
parent
6bad9586d2
commit
2830d0be74
@ -291,6 +291,8 @@ public class SlimefunStartup extends JavaPlugin {
|
|||||||
clearlag = getServer().getPluginManager().isPluginEnabled("ClearLag");
|
clearlag = getServer().getPluginManager().isPluginEnabled("ClearLag");
|
||||||
|
|
||||||
if (clearlag) new ClearLaggIntegration(this);
|
if (clearlag) new ClearLaggIntegration(this);
|
||||||
|
|
||||||
|
CSCoreLib.getLib().filterLog("([A-Za-z0-9_]{3,16}) issued server command: /sf elevator (.{0,})");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,8 +39,7 @@ public class BowListener implements Listener {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (Variables.arrows.containsKey(e.getEntity().getUniqueId())) Variables.arrows.remove(e.getEntity().getUniqueId());
|
if (Variables.arrows.containsKey(e.getEntity().getUniqueId())) Variables.arrows.remove(e.getEntity().getUniqueId());
|
||||||
|
if (e.getEntity() instanceof Arrow) handleGrapplingHook((Arrow) e.getEntity());
|
||||||
handleGrapplingHook((Arrow) e.getEntity());
|
|
||||||
}
|
}
|
||||||
}, 3L);
|
}, 3L);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user