mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-14 22:56:10 +01:00
Fix NPE
This commit is contained in:
parent
750db495d6
commit
15ae32ae84
@ -422,7 +422,9 @@ public class GameRules {
|
||||
}
|
||||
|
||||
if (initialLives == null) {
|
||||
initialLives = defaultValues.hasLives() ? null : -1;
|
||||
if (defaultValues.hasLives() != null) {
|
||||
initialLives = defaultValues.hasLives() ? null : -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user