diff --git a/pom.xml b/pom.xml
index 0703b367..86ca99f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
4.0.0
de.erethon
dungeonsxl
- 0.17
+ 0.17.1-SNAPSHOT
jar
DungeonsXL
https://dre2n.github.io
diff --git a/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java b/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java
index 65e47db8..ea92adb9 100644
--- a/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java
+++ b/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java
@@ -364,7 +364,7 @@ public class DGlobalPlayer implements PlayerWrapper {
player.addPotionEffects(data.getOldPotionEffects());
} else {
- for (ItemStack item : player.getInventory().getStorageContents()) {
+ for (ItemStack item : player.getInventory().getContents()) {
if (item == null) {
continue;
}
diff --git a/src/main/java/de/erethon/dungeonsxl/requirement/ForbiddenItemsRequirement.java b/src/main/java/de/erethon/dungeonsxl/requirement/ForbiddenItemsRequirement.java
index 560d565a..41fc819d 100644
--- a/src/main/java/de/erethon/dungeonsxl/requirement/ForbiddenItemsRequirement.java
+++ b/src/main/java/de/erethon/dungeonsxl/requirement/ForbiddenItemsRequirement.java
@@ -61,7 +61,7 @@ public class ForbiddenItemsRequirement extends Requirement {
@Override
public boolean check(Player player) {
- for (ItemStack item : player.getInventory().getStorageContents()) {
+ for (ItemStack item : player.getInventory().getContents()) {
if (item == null) {
continue;
}
diff --git a/src/main/java/de/erethon/dungeonsxl/requirement/KeyItemsRequirement.java b/src/main/java/de/erethon/dungeonsxl/requirement/KeyItemsRequirement.java
index f7564b8e..054621b7 100644
--- a/src/main/java/de/erethon/dungeonsxl/requirement/KeyItemsRequirement.java
+++ b/src/main/java/de/erethon/dungeonsxl/requirement/KeyItemsRequirement.java
@@ -63,7 +63,7 @@ public class KeyItemsRequirement extends Requirement {
@Override
public boolean check(Player player) {
List keyItems = new ArrayList<>(this.keyItems);
- for (ItemStack item : player.getInventory().getStorageContents()) {
+ for (ItemStack item : player.getInventory().getContents()) {
if (item == null) {
continue;
}