mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
A few fixes
This commit is contained in:
1 parent
33ff01b436
commit
a32d6f4953
2 files changed
+60
-58
No files matched your search
@@ -58,11 +58,11 @@ public class LaserManager
|
||||
if(!e.isImmuneToFire())
|
||||
{
|
||||
e.setFire((int)(energy / 1000));
|
||||
|
||||
if(energy > 256)
|
||||
{
|
||||
e.attackEntityFrom(DamageSource.onFire, (float)energy/1000F);
|
||||
}
|
||||
}
|
||||
|
||||
if(energy > 256)
|
||||
{
|
||||
e.attackEntityFrom(DamageSource.generic, (float)energy/1000F);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user