Disable Treasure stuff for now
This commit is contained in:
parent
2b3f6c9dbc
commit
08e6b73b1f
@ -175,16 +175,16 @@ public class TreasureManager extends MiniPlugin
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void command(PlayerCommandPreprocessEvent event)
|
||||
{
|
||||
//TODO Remove
|
||||
if (event.getMessage().startsWith("/treasure"))
|
||||
{
|
||||
event.getPlayer().sendMessage("Attempting to open treasure...");
|
||||
attemptOpenTreasure(event.getPlayer());
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
// @EventHandler
|
||||
// public void command(PlayerCommandPreprocessEvent event)
|
||||
// {
|
||||
// //TODO Remove
|
||||
// if (event.getMessage().startsWith("/treasure"))
|
||||
// {
|
||||
// event.getPlayer().sendMessage("Attempting to open treasure...");
|
||||
// attemptOpenTreasure(event.getPlayer());
|
||||
// event.setCancelled(true);
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ public class HubManager extends MiniClientPlugin<HubClient>
|
||||
_inventoryManager = new InventoryManager(plugin);
|
||||
_gadgetManager = new GadgetManager(_plugin, clientManager, donationManager, _inventoryManager, _mountManager, petManager, preferences, disguiseManager, blockRestore, new ProjectileManager(plugin));
|
||||
new CosmeticManager(_plugin, clientManager, donationManager, _inventoryManager, _gadgetManager, _mountManager, petManager, false);
|
||||
new TreasureManager(_plugin);
|
||||
// new TreasureManager(_plugin);
|
||||
|
||||
_partyManager = partyManager;
|
||||
_preferences = preferences;
|
||||
|
Loading…
Reference in New Issue
Block a user