diff --git a/src/main/java/tconstruct/library/event/ModifyEvent.java b/src/main/java/tconstruct/library/event/ModifyEvent.java new file mode 100644 index 00000000000..bff75e1e7cf --- /dev/null +++ b/src/main/java/tconstruct/library/event/ModifyEvent.java @@ -0,0 +1,4 @@ +package tconstruct.library.event; + +public class ModifyEvent { +} diff --git a/src/main/java/tconstruct/library/weaponry/ProjectileWeapon.java b/src/main/java/tconstruct/library/weaponry/ProjectileWeapon.java index 2c664c47149..d3c4d8becea 100644 --- a/src/main/java/tconstruct/library/weaponry/ProjectileWeapon.java +++ b/src/main/java/tconstruct/library/weaponry/ProjectileWeapon.java @@ -282,7 +282,7 @@ protected IIcon getCorrectAnimationIcon(Map icons, int id, flo float count = icons.get(-1).length - 1; int step = Math.round(progress * count); - step = Math.min(0, step); + step = Math.max(0, step); if(icons.containsKey(id)) return icons.get(id)[step];