Merge branch 'master' of https://github.com/StevenRS11/DimDoors
This commit is contained in:
commit
b4a4c52784
2 changed files with 3 additions and 2 deletions
|
@ -187,7 +187,7 @@ public class mod_pocketDim
|
||||||
//MonolithSpawner should be initialized before any provider instances are created
|
//MonolithSpawner should be initialized before any provider instances are created
|
||||||
//Register the other regular tick receivers as well
|
//Register the other regular tick receivers as well
|
||||||
spawner = new MonolithSpawner(commonTickHandler, properties);
|
spawner = new MonolithSpawner(commonTickHandler, properties);
|
||||||
new RiftRegenerator(commonTickHandler); //No need to store the reference
|
new RiftRegenerator(commonTickHandler, properties); //No need to store the reference
|
||||||
LimboDecay decay = new LimboDecay(commonTickHandler, properties);
|
LimboDecay decay = new LimboDecay(commonTickHandler, properties);
|
||||||
|
|
||||||
transientDoor = (new TransientDoor(properties.TransientDoorID, Material.iron)).setHardness(1.0F) .setUnlocalizedName("transientDoor");
|
transientDoor = (new TransientDoor(properties.TransientDoorID, Material.iron)).setHardness(1.0F) .setUnlocalizedName("transientDoor");
|
||||||
|
|
|
@ -15,9 +15,10 @@ public class RiftRegenerator implements IRegularTickReceiver {
|
||||||
|
|
||||||
private DDProperties properties;
|
private DDProperties properties;
|
||||||
|
|
||||||
public RiftRegenerator(IRegularTickSender sender)
|
public RiftRegenerator(IRegularTickSender sender, DDProperties properties)
|
||||||
{
|
{
|
||||||
sender.registerForTicking(this, RIFT_REGENERATION_INTERVAL, false);
|
sender.registerForTicking(this, RIFT_REGENERATION_INTERVAL, false);
|
||||||
|
this.properties = properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue