Fixed the GC issues
This commit is contained in:
parent
b34ff3c58e
commit
5a4bb6e8e8
4 changed files with 16 additions and 9 deletions
|
@ -3,6 +3,8 @@ package WayofTime.alchemicalWizardry.common.spell.complex.effect;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import micdoodle8.mods.galacticraft.core.entities.player.GCCorePlayerMP;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
|
@ -116,13 +118,13 @@ public class SpellHelper
|
|||
return false;
|
||||
}
|
||||
|
||||
if(player instanceof FakePlayer)
|
||||
if(player instanceof FakePlayer || player.username.contains("[CoFH]"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
String str = player.getClass().getCanonicalName();
|
||||
if(str.contains("GCEntityPlayerMP"))
|
||||
String str = player.getClass().getSimpleName();
|
||||
if(str.contains("GC"))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -132,6 +134,6 @@ public class SpellHelper
|
|||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue