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