fix task scoring crash

This commit is contained in:
Phillip Thelen 2016-04-15 11:11:38 +02:00
parent 05231ca96b
commit d72b329868
2 changed files with 5 additions and 2 deletions

View file

@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.habitrpg.android.habitica"
android:versionCode="58"
android:versionName="0.0.28"
android:versionCode="59"
android:versionName="0.0.28.1"
android:screenOrientation="portrait"
android:installLocation="auto" >

View file

@ -51,6 +51,9 @@ public abstract class Item extends BaseModel {
}
public Integer getOwned() {
if (owned == null) {
return 0;
}
return owned;
}