Code cleanup
This commit is contained in:
parent
3c752f7fe3
commit
c4806ef1c1
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
package cr0s.warpdrive.api;
|
||||
|
||||
public interface FunctionGet<Return> {
|
||||
public interface FunctionGet<R> {
|
||||
|
||||
Return apply();
|
||||
R apply();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package cr0s.warpdrive.api;
|
||||
|
||||
public interface FunctionSetVector<Component> {
|
||||
public interface FunctionSetVector<V> {
|
||||
|
||||
void apply(Component x, Component y, Component z);
|
||||
void apply(V x, V y, V z);
|
||||
}
|
||||
|
|
|
@ -247,7 +247,7 @@ public class AirSpreader {
|
|||
z - facingSource.getZOffset()));
|
||||
if (blockStateGenerator.getBlock() instanceof BlockAirGeneratorTiered) {
|
||||
final EnumFacing facingGenerator = blockStateGenerator.getValue(BlockProperties.FACING);
|
||||
if (facingGenerator == facingSource) {
|
||||
if (facingGenerator.equals(facingSource)) {
|
||||
// all good
|
||||
hasGenerator = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue