mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-24 22:14:31 +00:00
quick fix : Private field may be 'final'
This commit is contained in:
1 parent
b1c2569992
commit
ae363450b1
42 files changed
+81
-81
No files matched your search
@@ -13,15 +13,15 @@ import tconstruct.library.weaponry.IWindup;
|
||||
import tconstruct.util.Reference;
|
||||
|
||||
public class CrosshairHandler {
|
||||
private static Minecraft mc = Minecraft.getMinecraft();
|
||||
private static final Minecraft mc = Minecraft.getMinecraft();
|
||||
|
||||
private static ResourceLocation crossHairSquare =
|
||||
private static final ResourceLocation crossHairSquare =
|
||||
new ResourceLocation(Reference.RESOURCE, "textures/gui/Crosshair.png");
|
||||
private static ResourceLocation crossHairTip =
|
||||
private static final ResourceLocation crossHairTip =
|
||||
new ResourceLocation(Reference.RESOURCE, "textures/gui/Crosshair2.png");
|
||||
private static ResourceLocation crossHairWeird =
|
||||
private static final ResourceLocation crossHairWeird =
|
||||
new ResourceLocation(Reference.RESOURCE, "textures/gui/Crosshair3.png");
|
||||
private static ResourceLocation crossHairSpike =
|
||||
private static final ResourceLocation crossHairSpike =
|
||||
new ResourceLocation(Reference.RESOURCE, "textures/gui/Crosshair4.png");
|
||||
|
||||
@SubscribeEvent
|
||||
|
||||
@@ -11,7 +11,7 @@ import tconstruct.client.AmmoItemRenderer;
|
||||
import tconstruct.library.weaponry.IWindup;
|
||||
|
||||
public class ThrowingKnifeRenderer extends AmmoItemRenderer {
|
||||
private static Minecraft mc = Minecraft.getMinecraft();
|
||||
private static final Minecraft mc = Minecraft.getMinecraft();
|
||||
|
||||
@Override
|
||||
protected void specialAnimation(ItemRenderType type, ItemStack item) {
|
||||
|
||||
Reference in new issue
Block a user