Fixed NPE in RiftRegenerator
Fixed a NullPointerException in RiftRegenerator. I had forgotten to initialize the properties field for use in the class.
This commit is contained in:
@@ -15,9 +15,10 @@ public class RiftRegenerator implements IRegularTickReceiver {
|
||||
|
||||
private DDProperties properties;
|
||||
|
||||
public RiftRegenerator(IRegularTickSender sender)
|
||||
public RiftRegenerator(IRegularTickSender sender, DDProperties properties)
|
||||
{
|
||||
sender.registerForTicking(this, RIFT_REGENERATION_INTERVAL, false);
|
||||
this.properties = properties;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user