mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-27 07:14:03 +00:00
smartn't @ZeroEpoch1969
Signed-off-by: Robinson Gallego <robinson.leal7@gmail.com>
This commit is contained in:
@@ -53,6 +53,8 @@ public class InteractBlocker extends FreedomService
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGH)
|
||||
public void onRightClickBell(PlayerInteractEvent event)
|
||||
{
|
||||
if (event.getClickedBlock() != null)
|
||||
{
|
||||
if (event.getClickedBlock().getType().equals(Material.BELL))
|
||||
{
|
||||
@@ -62,6 +64,7 @@ public class InteractBlocker extends FreedomService
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void handleRightClick(PlayerInteractEvent event)
|
||||
{
|
||||
|
Reference in New Issue
Block a user