Files
Eaglercraft-1.8/patches/minecraft/net/minecraft/world/WorldSettings.edit.java

28 lines
610 B
Java

# Eagler Context Redacted Diff
# Copyright (c) 2024 lax1dude. All rights reserved.
# Version: 1.0
# Author: lax1dude
> DELETE 3 @ 3 : 4
> INSERT 82 : 84 @ 82
+ public static final GameType[] _VALUES = values();
+
> CHANGE 49 : 52 @ 49 : 50
~ WorldSettings.GameType[] types = _VALUES;
~ for (int i = 0; i < types.length; ++i) {
~ WorldSettings.GameType worldsettings$gametype = types[i];
> CHANGE 9 : 12 @ 9 : 10
~ WorldSettings.GameType[] types = _VALUES;
~ for (int i = 0; i < types.length; ++i) {
~ WorldSettings.GameType worldsettings$gametype = types[i];
> EOF