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