Skip to content

Commit

Permalink
Register replenishing task type
Browse files Browse the repository at this point in the history
  • Loading branch information
Krakenied committed May 26, 2023
1 parent 4fa851f commit 6f88c39
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -328,6 +328,10 @@ public void onEnable() {
Class.forName("io.papermc.paper.event.block.PlayerShearBlockEvent");
taskTypeManager.registerTaskType(new BlockshearingTaskType(this));
} catch (ClassNotFoundException ignored) { } // server version cannot support task type
try {
Class.forName("com.destroystokyo.paper.loottable.LootableInventoryReplenishEvent");
taskTypeManager.registerTaskType(new ReplenishingTaskType(this));
} catch (ClassNotFoundException ignored) { } // server version cannot support task type
if (Bukkit.getPluginManager().isPluginEnabled("ASkyBlock")) {
taskTypeManager.registerTaskType(new ASkyBlockLevelTaskType(this));
}
Expand Down

0 comments on commit 6f88c39

Please sign in to comment.