mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-12 13:41:06 +00:00
Removed debug messages
This commit is contained in:
parent
3935785966
commit
a2ea19afa2
@ -56,8 +56,6 @@ public class InteractShop implements Listener{
|
|||||||
Block b = e.getClickedBlock();
|
Block b = e.getClickedBlock();
|
||||||
Player p = e.getPlayer();
|
Player p = e.getPlayer();
|
||||||
|
|
||||||
Bukkit.getConsoleSender().sendMessage(ChatColor.GOLD + p.getName() + " clicked block.");
|
|
||||||
|
|
||||||
if (e.getAction() == Action.RIGHT_CLICK_BLOCK || e.getAction() == Action.LEFT_CLICK_BLOCK) {
|
if (e.getAction() == Action.RIGHT_CLICK_BLOCK || e.getAction() == Action.LEFT_CLICK_BLOCK) {
|
||||||
|
|
||||||
if (b.getType().equals(Material.CHEST) || b.getType().equals(Material.TRAPPED_CHEST)) {
|
if (b.getType().equals(Material.CHEST) || b.getType().equals(Material.TRAPPED_CHEST)) {
|
||||||
@ -71,8 +69,6 @@ public class InteractShop implements Listener{
|
|||||||
case CREATE:
|
case CREATE:
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
|
|
||||||
Bukkit.getConsoleSender().sendMessage(ChatColor.GOLD + p.getName() + " created shop.");
|
|
||||||
|
|
||||||
if (!p.isOp() || !perm.has(p, "shopchest.create.protected")) {
|
if (!p.isOp() || !perm.has(p, "shopchest.create.protected")) {
|
||||||
if (ShopChest.lockette) {
|
if (ShopChest.lockette) {
|
||||||
if (Lockette.isProtected(b)) {
|
if (Lockette.isProtected(b)) {
|
||||||
@ -113,8 +109,6 @@ public class InteractShop implements Listener{
|
|||||||
case INFO:
|
case INFO:
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
|
|
||||||
Bukkit.getConsoleSender().sendMessage(ChatColor.GOLD + p.getName() + " retrieved info.");
|
|
||||||
|
|
||||||
if (ShopUtils.isShop(b.getLocation())) {
|
if (ShopUtils.isShop(b.getLocation())) {
|
||||||
|
|
||||||
Shop shop = ShopUtils.getShop(b.getLocation());
|
Shop shop = ShopUtils.getShop(b.getLocation());
|
||||||
@ -130,8 +124,6 @@ public class InteractShop implements Listener{
|
|||||||
case REMOVE:
|
case REMOVE:
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
|
|
||||||
Bukkit.getConsoleSender().sendMessage(ChatColor.GOLD + p.getName() + " removed shop.");
|
|
||||||
|
|
||||||
if (ShopUtils.isShop(b.getLocation())) {
|
if (ShopUtils.isShop(b.getLocation())) {
|
||||||
|
|
||||||
Shop shop = ShopUtils.getShop(b.getLocation());
|
Shop shop = ShopUtils.getShop(b.getLocation());
|
||||||
|
Loading…
Reference in New Issue
Block a user