Skip to content

Commit

Permalink
Fix compilation error because of wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
DerEchtePilz committed Oct 23, 2024
1 parent 5d4111b commit aa5c4ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public class NMS_1_21_R2 extends NMS_Common {
}
vanillaCommandDispatcherFieldExists = fieldExists;

minecraftServerFuelValues = SafeVarHandle.ofOrNull(MinecraftServer.class, "fuelValues", "fuelValues", FuelValues.class);
minecraftServerFuelValues = SafeVarHandle.ofOrNull(MinecraftServer.class, "aE", "fuelValues", FuelValues.class);
}

private static NamespacedKey fromResourceLocation(ResourceLocation key) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
@RequireField(in = EntitySelector.class, name = "p", ofType = boolean.class)
@RequireField(in = SimpleHelpMap.class, name = "helpTopics", ofType = Map.class)
@RequireField(in = EntityPositionSource.class, name = "e", ofType = Either.class)
@RequireField(in = MinecraftServer.class, name = "fuelValues", ofType = FuelValues.class)
@RequireField(in = MinecraftServer.class, name = "aE", ofType = FuelValues.class)
public class SafeReflect {}

0 comments on commit aa5c4ea

Please sign in to comment.