Fix portal requirements check

This commit is contained in:
Daniel Saukel 2020-04-11 02:19:59 +02:00
parent 39ee708b55
commit a3ff4c478c

View File

@ -253,7 +253,7 @@ public class DPortal extends GlobalProtection {
return;
}
if (!plugin.getPlayerCache().get(player).checkRequirements()) {
if (!plugin.getPlayerCache().get(player).checkRequirements(dungeon)) {
return;
}