mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-04 17:59:31 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!plugin.getPlayerCache().get(player).checkRequirements()) {
|
if (!plugin.getPlayerCache().get(player).checkRequirements(dungeon)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user