Skip to content

Commit

Permalink
Update 2.0.1
Browse files Browse the repository at this point in the history
Cleanup and add compat for 1.8.X
  • Loading branch information
ThisTestUser committed Jul 9, 2020
1 parent 407b3db commit 64ce126
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.


version = "2.0"
version = "2.0.1"
group = "com.thistestuser.farlands" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "farlands"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thistestuser.farlandscfg;
package com.thistestuser.farlands;

import java.io.BufferedReader;
import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import org.objectweb.asm.tree.TypeInsnNode;
import org.objectweb.asm.tree.VarInsnNode;

import com.thistestuser.farlandscfg.Config;

import net.minecraft.launchwrapper.IClassTransformer;

public class FarLandsTransformer implements IClassTransformer
Expand Down Expand Up @@ -50,7 +48,8 @@ else if(transformedName.equals("net.minecraft.entity.player.EntityPlayer") && co
return patchClassASMPlayer(name, classBytes, isObfuscated);
else if(transformedName.equals("net.minecraft.server.management.PlayerList") && config.extendWB)
return patchClassASMPlayerList(name, classBytes, isObfuscated);
else if(transformedName.equals("net.minecraft.world.gen.ChunkGeneratorOverworld") && config.offset)
else if((transformedName.equals("net.minecraft.world.gen.ChunkGeneratorOverworld")
|| transformedName.equals("net.minecraft.world.gen.ChunkProviderGenerate")) && config.offset)
return patchChunkGen(name, classBytes, isObfuscated);
return classBytes;
}
Expand Down

0 comments on commit 64ce126

Please sign in to comment.