v2.1.3: divine inspiration can now be cancelled if already IDed
This commit is contained in:
+4
-1
@@ -131,7 +131,10 @@ public class PotionOfDivineInspiration extends ExoticPotion {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBackPressed() {
|
public void onBackPressed() {
|
||||||
//do nothing, prevents accidentally closing
|
//window can be closed if potion is already IDed
|
||||||
|
if (isIdentified()){
|
||||||
|
super.onBackPressed();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user