Hotfix NPE
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
542547fd5b
Commit
7fe4f09a08
@ -92,6 +92,8 @@ public class Kit {
|
|||||||
|
|
||||||
if(armor != null){
|
if(armor != null){
|
||||||
for(int i = 0; i < 4; i++){
|
for(int i = 0; i < 4; i++){
|
||||||
|
if(armor[i] == null)
|
||||||
|
continue;
|
||||||
SWItem item = new SWItem();
|
SWItem item = new SWItem();
|
||||||
item.setItemStack(armor[i]);
|
item.setItemStack(armor[i]);
|
||||||
inv.setItem(36 + i, item);
|
inv.setItem(36 + i, item);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren