ZeroPoint Energy API

ZeroPoint Energy API

2k Downloads

[Question] Why IEnergyHandler.getEnergyStorage() returns a class (EnergyStorage) instead of an interface (IEnergyStorage) ?

Sejoslaw opened this issue ยท 1 comments

commented

Hi.

First of all let me say that I like this idea about the new power API for new MC :)
According to my question, wouldn't it be more flexible to allow people for their own implementations of IEnergyStorage ?
My question is really about this line of code, shoudn't there be the IEnergyStorage ?

Best regards
Sejoslaw

commented

Ooh, yeah, that should be IEnergyStorage. Whoops. I'm working on porting ZeroPoint over to Zendarva's rift capabilities right now so I'll fix that while I port.