mirror of
https://github.com/taoneill/war.git
synced 2024-12-24 17:37:51 +01:00
Fixes gh-645, gh-643 - Load player armor when using playerloadoutasdefault
This commit is contained in:
parent
c4b268910b
commit
13396f85a4
@ -1396,6 +1396,18 @@ public class Warzone {
|
||||
}
|
||||
invIndex++;
|
||||
}
|
||||
if (originalState.getFeet() != null) {
|
||||
playerItems.put(100, originalState.getFeet());
|
||||
}
|
||||
if (originalState.getLegs() != null) {
|
||||
playerItems.put(101, originalState.getLegs());
|
||||
}
|
||||
if (originalState.getChest() != null) {
|
||||
playerItems.put(102, originalState.getChest());
|
||||
}
|
||||
if (originalState.getHelmet() != null) {
|
||||
playerItems.put(103, originalState.getHelmet());
|
||||
}
|
||||
|
||||
if (War.war.isSpoutServer()) {
|
||||
SpoutManager.getPlayer(player).setTitle(originalState.getPlayerTitle());
|
||||
|
Loading…
Reference in New Issue
Block a user