v3.3.0: fixed a NPE caused by dried rose ghost tweak
This commit is contained in:
@@ -581,8 +581,10 @@ public class DriedRose extends Artifact {
|
||||
private void updateRose(){
|
||||
if (rose == null) {
|
||||
rose = Dungeon.hero.belongings.getItem(DriedRose.class);
|
||||
rose.ghost = this;
|
||||
rose.ghostID = id();
|
||||
if (rose != null) {
|
||||
rose.ghost = this;
|
||||
rose.ghostID = id();
|
||||
}
|
||||
}
|
||||
|
||||
//same dodge as the hero
|
||||
|
||||
Reference in New Issue
Block a user