This commit is contained in:
Daniel Mills 2020-09-13 09:15:04 -04:00
parent 639294af2d
commit ef4037274d
3 changed files with 9 additions and 1 deletions

View File

@ -191,7 +191,12 @@ public class IrisTerrainProvider extends SkyTerrainProvider implements IrisConte
@Override
protected void onPlayerJoin(Player p)
{
if(getDimension().getResourcePack().trim().isEmpty())
{
return;
}
p.setResourcePack(getDimension().getResourcePack());
}
@Override

View File

@ -53,6 +53,10 @@ public class IrisDimension extends IrisRegistrant
@DontObfuscate
@Desc("Create an inverted dimension in the sky (like the nether)")
private IrisDimension sky = null;
@DontObfuscate
@Desc("Upon joining this world, Iris will send a resource pack request to the client. If they have previously selected yes, it will auto-switch depending on which dimension they go to.")
private String resourcePack = "";
@DontObfuscate
@Desc("Place text on terrain")

View File

@ -39,7 +39,6 @@ import lombok.experimental.Accessors;
@Data
public class IrisLoot
{
@DontObfuscate
@Desc("The target inventory slot types to fill this loot with")
private InventorySlotType slotTypes = InventorySlotType.STORAGE;