mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-24 23:41:29 +01:00
Change formatting a bit
This commit is contained in:
parent
9f5daa2503
commit
c5569adc10
@ -35,10 +35,10 @@ public class SItemStack {
|
||||
public ItemStack addDamage(Player player, int damage) {
|
||||
if (item == null)
|
||||
return null;
|
||||
|
||||
if(item.getItemMeta() == null)
|
||||
|
||||
if (item.getItemMeta() == null)
|
||||
return item;
|
||||
|
||||
|
||||
int maxDurability = item.getType().getMaxDurability();
|
||||
int durability;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user