Wireless Terminal now respects WAPs and distances.
Finished Wireless Terminal. Added WAP Gui. Added Battery Config. Added Wireless Config. Fixed bug with dense cable channels, and the controller.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package appeng.container.implementations;
|
||||
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import appeng.core.Configuration;
|
||||
import appeng.core.localization.PlayerMessages;
|
||||
import appeng.helpers.WirelessTerminalGuiObject;
|
||||
|
||||
@@ -24,5 +25,9 @@ public class ContainerWirelessTerm extends ContainerMEPortableCell
|
||||
getPlayerInv().player.closeScreen();
|
||||
getPlayerInv().player.sendChatToPlayer( PlayerMessages.OutOfRange.get() );
|
||||
}
|
||||
else
|
||||
{
|
||||
powerMultiplier = Configuration.instance.wireless_getDrainRate( wtgo.getRange() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user