mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix portal requirements check
This commit is contained in:
parent
39ee708b55
commit
a3ff4c478c
@ -253,7 +253,7 @@ public class DPortal extends GlobalProtection {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!plugin.getPlayerCache().get(player).checkRequirements()) {
|
||||
if (!plugin.getPlayerCache().get(player).checkRequirements(dungeon)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user