changed kernel events to static class
This commit is contained in:
@@ -63,7 +63,7 @@ class Redstone implements IPeripheral implements IExportable {
|
||||
|
||||
updateState();
|
||||
|
||||
KernelEvents.instance.onRedstone.handle(()->{
|
||||
KernelEvents.onRedstone.handle(()->{
|
||||
if ((this.getAnalogInput() != this.analogInputState) || (this.bundleInputState != this.getBundledInput())){
|
||||
updateState();
|
||||
this.onChangeTrigger.trigger(null);
|
||||
|
||||
Reference in New Issue
Block a user