Skip to content

Commit

Permalink
Set acceptable minecraft version range explicitly so ForgeGradle does…
Browse files Browse the repository at this point in the history
…n't override it with the wrong thing

(an undocumented feature of ForgeGradle, it sets this for you in McVersionTransformer.java. Thanks, I guess?)
  • Loading branch information
LunNova committed Jun 27, 2016
1 parent 33f58bc commit bc382b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import java.util.*;

@SuppressWarnings("WeakerAccess")
@Mod(modid = "TickProfiler", name = "TickProfiler", acceptableRemoteVersions = "*", version = "@MOD_VERSION@")
@Mod(modid = "TickProfiler", name = "TickProfiler", acceptableRemoteVersions = "*", version = "@MOD_VERSION@", acceptedMinecraftVersions = "[@MC_VERSION@]")
public class TickProfiler {
private static final Set<World> profilingWorlds = Collections.newSetFromMap(new MapMaker().weakKeys().<World, Boolean>makeMap());
@Mod.Instance("TickProfiler")
Expand Down

0 comments on commit bc382b0

Please sign in to comment.