mirror of
https://github.com/plexusorg/Plex.git
synced 2025-06-29 06:46:43 +00:00
Reformat code
This commit is contained in:
@ -111,8 +111,14 @@ public class PunishedPlayerMenu extends AbstractMenu
|
||||
return;
|
||||
}
|
||||
ItemStack item = event.getCurrentItem();
|
||||
if (!item.hasItemMeta()) return;
|
||||
if (!item.getItemMeta().hasDisplayName()) return;
|
||||
if (!item.hasItemMeta())
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!item.getItemMeta().hasDisplayName())
|
||||
{
|
||||
return;
|
||||
}
|
||||
event.setCancelled(true);
|
||||
if (item.getType() == Material.FEATHER)
|
||||
{
|
||||
|
Reference in New Issue
Block a user