mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-02 04:56:40 +00:00
Merge branch 'main' of github.com:AtlasMediaGroup/TotalFreedomMod into merge/main/development
This commit is contained in:
@ -172,7 +172,7 @@ public class EventBlocker extends FreedomService
|
||||
@EventHandler(priority = EventPriority.NORMAL)
|
||||
public void onPlayerDropItem(PlayerDropItemEvent event)
|
||||
{
|
||||
if (!plugin.al.isAdmin(event.getPlayer()))
|
||||
if (!plugin.al.isAdmin(event.getPlayer()) && !ConfigEntry.ALLOW_ITEM_DROPS.getBoolean())
|
||||
{
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user