mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
more 1.7 work, attempts at figuring out log4j2
This commit is contained in:
1 parent
fb04e8eb08
commit
d911af378f
33 files changed
+96
-81
No files matched your search
@@ -1,9 +1,8 @@
|
||||
package tconstruct.util;
|
||||
|
||||
import net.minecraft.util.DamageSource;
|
||||
|
||||
import net.minecraft.util.IChatComponent;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.util.ChatMessageComponent;
|
||||
|
||||
public class DamageSourceFireworkExplode extends DamageSource
|
||||
{
|
||||
@@ -14,7 +13,7 @@ public class DamageSourceFireworkExplode extends DamageSource
|
||||
this.setDamageBypassesArmor();
|
||||
}
|
||||
|
||||
public ChatMessageComponent getDeathMessage (EntityLivingBase par1EntityLivingBase)
|
||||
public IChatComponent getDeathMessage (EntityLivingBase par1EntityLivingBase)
|
||||
{
|
||||
return super.getDeathMessage(par1EntityLivingBase);
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package tconstruct.util;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.util.ChatMessageComponent;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.IChatComponent;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public class DamageSourceLandmine extends DamageSource
|
||||
@@ -14,7 +15,7 @@ public class DamageSourceLandmine extends DamageSource
|
||||
this.setDamageBypassesArmor();
|
||||
}
|
||||
|
||||
public ChatMessageComponent getDeathMessage (EntityLivingBase par1EntityLivingBase)
|
||||
public IChatComponent getDeathMessage (EntityLivingBase par1EntityLivingBase)
|
||||
{
|
||||
return super.getDeathMessage(par1EntityLivingBase);
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ public class TPacketHandler implements IPacketHandler
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
TConstruct.logger.warning("Failed at reading client packet for TConstruct.");
|
||||
TConstruct.logger.warn("Failed at reading client packet for TConstruct.");
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
@@ -169,7 +169,7 @@ public class TPacketHandler implements IPacketHandler
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
TConstruct.logger.warning("Failed at reading server packet for TConstruct.");
|
||||
TConstruct.logger.warn("Failed at reading server packet for TConstruct.");
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user