Skip to content

Commit

Permalink
Fixed backwards compatibility with WrappedDataValue (#2172)
Browse files Browse the repository at this point in the history
  • Loading branch information
armagidon-exception authored Feb 16, 2023
1 parent 0a41cf9 commit 365bb66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
public class WrappedDataValue extends AbstractWrapper {

private static final Class<?> HANDLE_TYPE = MinecraftReflection.getMinecraftClass("network.syncher.DataWatcher$b", "network.syncher.SynchedEntityData$DataValue");
private static final Class<?> HANDLE_TYPE = MinecraftReflection.getNullableNMS("network.syncher.DataWatcher$b", "network.syncher.SynchedEntityData$DataValue");

private static ConstructorAccessor constructor;

Expand Down

0 comments on commit 365bb66

Please sign in to comment.