Skip to content

Commit

Permalink
fix shoots bow event on paper servers
Browse files Browse the repository at this point in the history
woops
  • Loading branch information
mcmonkey4eva committed Nov 29, 2020
1 parent 44922eb commit 97a8ab6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -71,9 +71,7 @@ public static void registerMainEvents() {
ScriptEvent.registerScriptEvent(new EntityPicksUpItemScriptEvent());
ScriptEvent.registerScriptEvent(new EntityPotionEffectScriptEvent());
ScriptEvent.registerScriptEvent(new EntityResurrectScriptEvent());
if (!Denizen.supportsPaper) {
ScriptEvent.registerScriptEvent(new EntityShootsBowEvent());
}
ScriptEvent.registerScriptEvent(new EntityShootsBowEvent());
ScriptEvent.registerScriptEvent(new EntitySpawnerSpawnScriptEvent());
ScriptEvent.registerScriptEvent(new EntitySpawnScriptEvent());
ScriptEvent.registerScriptEvent(new EntitySwimScriptEvent());
Expand Down
Expand Up @@ -104,7 +104,7 @@ public void run() {
+ "\nActive Plugins (" + pluginCount + "): " + pluginlist.substring(0, pluginlist.length() - 2)
+ "\nLoaded Worlds (" + worldCount + "): " + worldlist.substring(0, worldlist.length() - 2)
+ "\nOnline Players (" + playerCount + "): " + playerlist.substring(0, playerlist.length() - 2)
+ "\nTotal Players Ever: " + (PlayerTag.getAllPlayers().size() - playerCount) + " (" + validPl + " valid, " + invalidPl + " invalid)"
+ "\nTotal Players Ever: " + PlayerTag.getAllPlayers().size() + " (" + validPl + " valid, " + invalidPl + " invalid)"
+ "\nMode: " + (Bukkit.getServer().getOnlineMode() ? ChatColor.GREEN + "online" : (bungee ? ChatColor.YELLOW : ChatColor.RED) + "offline") + (bungee ? " (BungeeCord)" : "")
+ "\n\n").replace(ChatColor.COLOR_CHAR, (char) 0x01)) + recording)
.getBytes(StandardCharsets.UTF_8));
Expand Down

0 comments on commit 97a8ab6

Please sign in to comment.