mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-23 11:05:49 +01:00
fix more bugs
This commit is contained in:
parent
1bb90ae533
commit
744eab6953
@ -108,6 +108,7 @@ public class EquipmentEditor extends Editor {
|
|||||||
else
|
else
|
||||||
hand = null;
|
hand = null;
|
||||||
player.setItemInHand(hand);
|
player.setItemInHand(hand);
|
||||||
|
if (set != null)
|
||||||
set.setAmount(1);
|
set.setAmount(1);
|
||||||
trait.setEquipment(slot, set);
|
trait.setEquipment(slot, set);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user