Skip to content

Commit 242c82c

Browse files
committed
Update 1.3.1
1 parent ddb683c commit 242c82c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

common/src/main/java/com/fox2code/foxloader/launcher/DependencyHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ GSON_DEPENDENCY, new Dependency("com.google.guava:guava:21.0", MAVEN_CENTRAL, "c
4343
new Dependency("net.fabricmc:sponge-mixin:0.15.0+mixin.0.8.7", FABRIC_MC, "org.spongepowered.asm.mixin.Mixins"),
4444
new Dependency("io.github.llamalad7:mixinextras-common:0.4.0",
4545
MAVEN_CENTRAL, "com.llamalad7.mixinextras.MixinExtrasBootstrap"),
46-
new Dependency("com.github.bawnorton.mixinsquared:mixinsquared-common:0.2.0-beta.6",
46+
new Dependency("com.bawnorton.mixinsquared:mixinsquared-common:0.2.0-beta.6",
4747
FOX2CODE, "com.bawnorton.mixinsquared.MixinSquaredBootstrap"),
4848
jFallback, // jFallback have special handling in dev plugin
4949
};

common/src/main/java/com/fox2code/foxloader/loader/packet/ServerHello.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void readData(DataInputStream inStream) throws IOException {
6161
this.registryEntries.put(entry.name, entry);
6262
}
6363

64-
if (inStream.available() < 2) {
64+
if (inStream.available() == 0) {
6565
// Too few bytes to read the next short.
6666
this.metadata = new HashMap<>();
6767
ModLoader.getModLoaderLogger().log(Level.WARNING, "Server Hello: Too few bytes to read metadata.");
@@ -73,13 +73,13 @@ public void readData(DataInputStream inStream) throws IOException {
7373
}
7474
}
7575

76-
if (inStream.available() < 4) {
76+
if (inStream.available() == 0) {
7777
this.entityTypeRegistryEntries = new HashMap<>();
7878
ModLoader.getModLoaderLogger().log(Level.WARNING, "Server Hello: Too few bytes to read entity data.");
7979
} else {
8080
int entityEntries = inStream.readUnsignedShort();
8181
entityTypeRegistryEntries = new HashMap<>(entityEntries);
82-
while (entityEntries-- > 0) {
82+
while (entityEntries--> 0) {
8383
EntityTypeRegistryEntry entry = new EntityTypeRegistryEntry(
8484
inStream.readUnsignedShort(), inStream.readUnsignedShort(), inStream.readUTF());
8585
this.entityTypeRegistryEntries.put(entry.name, entry);

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.parallel=true
33
org.gradle.jvmargs=-Xmx1024m -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8
44

55
# FoxLoader properties
6-
foxloader.version=1.3.0
6+
foxloader.version=1.3.1
77
foxloader.lastReIndevTransformerChanges=1.3.0
88
# https://www.jitpack.io/#com.fox2code/FoxLoader
99

0 commit comments

Comments
 (0)