9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-23 17:19:16 +00:00

Fix command issues with not in iris world

This commit is contained in:
Daniel Mills
2020-10-22 18:06:58 -04:00
parent bfe7cf0ed7
commit c191060b73
8 changed files with 28 additions and 22 deletions

View File

@@ -228,7 +228,7 @@ public class Iris extends MortarPlugin
for(World i : Bukkit.getWorlds())
{
if(i.getGenerator() instanceof ProvisionBukkit)
if(IrisWorlds.isIrisWorld(i))
{
IrisWorlds.getProvider(i).close();
}