mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-02 13:31:43 +01:00
...
This commit is contained in:
parent
f6b7bfe816
commit
9fd75d10bf
@ -108,7 +108,7 @@ public class EquipmentEditor extends Editor {
|
||||
else
|
||||
hand = null;
|
||||
player.setItemInHand(hand);
|
||||
if (set != null)
|
||||
if (set.getType() != Material.AIR)
|
||||
set.setAmount(1);
|
||||
trait.setEquipment(slot, set);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user