Disable Treasure stuff for now

This commit is contained in:
Shaun Bennett 2014-09-02 19:04:43 -05:00
parent 2b3f6c9dbc
commit 08e6b73b1f
2 changed files with 12 additions and 12 deletions

View File

@ -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);
// }
// }
}

View File

@ -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;