mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
those extra 2 lines aren't useful anymore
This commit is contained in:
parent
f9959e9a4a
commit
f29a9d7250
@ -21,13 +21,11 @@ public abstract class TileEntityPylonBase extends TileEntityCableBaseNT {
|
|||||||
|
|
||||||
public static int canConnect(TileEntityPylonBase first, TileEntityPylonBase second) {
|
public static int canConnect(TileEntityPylonBase first, TileEntityPylonBase second) {
|
||||||
|
|
||||||
if(first.getConnectionType() != second.getConnectionType()) {
|
if(first.getConnectionType() != second.getConnectionType())
|
||||||
return 1;
|
return 1;
|
||||||
}
|
|
||||||
|
|
||||||
if(first == second) {
|
if(first == second)
|
||||||
return 2;
|
return 2;
|
||||||
}
|
|
||||||
|
|
||||||
double len = Math.min(first.getMaxWireLength(), second.getMaxWireLength());
|
double len = Math.min(first.getMaxWireLength(), second.getMaxWireLength());
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user