diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/mixin/MixinMinecraft.java b/src/hdskins/java/com/voxelmodpack/hdskins/mixin/MixinMinecraft.java index 55e88f69..d85e905a 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/mixin/MixinMinecraft.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/mixin/MixinMinecraft.java @@ -21,13 +21,13 @@ import net.minecraft.crash.CrashReport; @Mixin(value = Minecraft.class, priority = 9000) public abstract class MixinMinecraft { // - // Due to how JFrame works the only way to know for sure when the game hash crashed - // is to have it call us explicitly. + // Due to how JFrame works the only way to know for sure when the game has crashed + // is to have it call us directly. // // ShutdownListener.onShutDown is unlikely to be called as it depends on the // Minecraft.running flag to be unset, which is unlikely to happen if the game crashes. // - // Runtime.current().addShutdownHook won't be called it waits for all + // Runtime.current().addShutdownHook won't be called as it waits for all // non-daemon threads to end, one of which is depending on the JFrame being // disposed to tell it when to end. // @@ -68,7 +68,7 @@ public abstract class MixinMinecraft { // [!!!DO NOT REMOVE!!!] // // I'm serious, do not remove. - // I don't care how much of a vendeta you have aginst mixins. + // I don't care how much of a vendeta you have against mixins. // //public void displayCrashReport(CrashReport crashReportIn) @Inject(method = "displayCrashReport(Lnet/minecraft/crash/CrashReport;)V", at = @At("HEAD")) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java b/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java index 9855ba40..7e08ce0a 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java @@ -20,7 +20,7 @@ import java.awt.event.ComponentEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.IOException; -import java.util.ArrayList; +import java.util.List; import java.util.TooManyListenersException; import javax.annotation.Nullable; import javax.imageio.ImageIO; @@ -210,7 +210,7 @@ public class GLWindow extends DropTarget { // DefaultResourcePack pack = (DefaultResourcePack) mc.getResourcePackRepository().rprDefaultResourcePack; - ArrayList images = Lists.newArrayList( + List images = Lists.newArrayList( ImageIO.read(pack.getInputStreamAssets(new ResourceLocation("icons/icon_16x16.png"))), ImageIO.read(pack.getInputStreamAssets(new ResourceLocation("icons/icon_32x32.png"))) );