mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Fix spam issues
Former-commit-id: 491a8e3123e314db46d3d1b47c36a580c1a0dc24
This commit is contained in:
1 parent
9e514b6bb1
commit
63cd598892
1 file changed
+4
-3
@@ -127,9 +127,10 @@ public class BlockListener implements Listener {
|
||||
return;
|
||||
}
|
||||
event.setCancelled(true);
|
||||
h.setType(Material.AIR);
|
||||
plugin.getLogger().warning("[Exploit Alert] a HopperMinecart tried to move the item of "+shop);
|
||||
Util.sendMessageToOps(ChatColor.RED+"[QuickShop][Exploit alert] A HopperMinecart tried to move the item of "+shop);
|
||||
Block removeHopper=(Block)h;
|
||||
removeHopper.setType(Material.AIR);
|
||||
plugin.getLogger().warning("[Exploit Alert] a Hopper tried to move the item of "+shop);
|
||||
Util.sendMessageToOps(ChatColor.RED+"[QuickShop][Exploit alert] A Hopper tried to move the item of "+shop);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user