mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Fixes
This commit is contained in:
parent
639294af2d
commit
ef4037274d
@ -191,7 +191,12 @@ public class IrisTerrainProvider extends SkyTerrainProvider implements IrisConte
|
|||||||
@Override
|
@Override
|
||||||
protected void onPlayerJoin(Player p)
|
protected void onPlayerJoin(Player p)
|
||||||
{
|
{
|
||||||
|
if(getDimension().getResourcePack().trim().isEmpty())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.setResourcePack(getDimension().getResourcePack());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -54,6 +54,10 @@ public class IrisDimension extends IrisRegistrant
|
|||||||
@Desc("Create an inverted dimension in the sky (like the nether)")
|
@Desc("Create an inverted dimension in the sky (like the nether)")
|
||||||
private IrisDimension sky = null;
|
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
|
@DontObfuscate
|
||||||
@Desc("Place text on terrain")
|
@Desc("Place text on terrain")
|
||||||
@ArrayType(min = 1, type = IrisTextPlacement.class)
|
@ArrayType(min = 1, type = IrisTextPlacement.class)
|
||||||
|
@ -39,7 +39,6 @@ import lombok.experimental.Accessors;
|
|||||||
@Data
|
@Data
|
||||||
public class IrisLoot
|
public class IrisLoot
|
||||||
{
|
{
|
||||||
|
|
||||||
@DontObfuscate
|
@DontObfuscate
|
||||||
@Desc("The target inventory slot types to fill this loot with")
|
@Desc("The target inventory slot types to fill this loot with")
|
||||||
private InventorySlotType slotTypes = InventorySlotType.STORAGE;
|
private InventorySlotType slotTypes = InventorySlotType.STORAGE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user