mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-10-26 14:24:11 +00:00
Merge pull request #11 from GTNewHorizons/GTNH-Colen-bloodmagic-teleposer-fix
Fix teleposer costing no LP with interdim travel
This commit is contained in:
1 file changed
+5
-4
@@ -146,10 +146,11 @@ public class TETeleposer extends TEInventory
|
||||
{
|
||||
entityCount = 0;
|
||||
}
|
||||
|
||||
SoulNetworkHandler.syphonFromNetwork(focus, damage * transportCount + damage * entityCount);
|
||||
//Teleport
|
||||
|
||||
|
||||
//Teleport with minimum cost of 2000 LP.
|
||||
int cost = Math.max(damage * transportCount + damage * entityCount, 2000);
|
||||
SoulNetworkHandler.syphonFromNetwork(focus, cost);
|
||||
|
||||
if (worldF.equals(worldObj))
|
||||
{
|
||||
iterator1 = list1.iterator();
|
||||
|
||||
Reference in new issue
Block a user