Started work on actual flame implementation

This commit is contained in:
Aidan C. Brady committed 2014-07-17 20:06:51 -04:00
1 parent 2f4d545fb5
commit 9469fcb51a
7 files changed
+184 -5

No files matched your search

@@ -170,7 +170,7 @@ public class RenderTickHandler
{
for(EntityPlayer p : (List<EntityPlayer>)world.playerEntities)
{
if(!p.isSwingInProgress && p.getCurrentEquippedItem() != null && p.getCurrentEquippedItem().getItem() instanceof ItemFlamethrower)
if(!Mekanism.flamethrowerActive.contains(p.getCommandSenderName()) && !p.isSwingInProgress && p.getCurrentEquippedItem() != null && p.getCurrentEquippedItem().getItem() instanceof ItemFlamethrower)
{
if(((ItemFlamethrower)p.getCurrentEquippedItem().getItem()).getGas(p.getCurrentEquippedItem()) != null)
{