mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fixes
This commit is contained in:
parent
639294af2d
commit
ef4037274d
@ -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
|
||||
|
@ -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")
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user