Skip to content

Commit

Permalink
fix piston_reaction for 1.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Dec 16, 2020
1 parent dbebb28 commit b4f24f1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -165,7 +165,7 @@ public org.bukkit.block.BlockState generateBlockState(Material mat) {

public static final Field BLOCK_MATERIAL = ReflectionHelper.getFields(net.minecraft.server.v1_16_R3.BlockBase.class).get("material");

public static final MethodHandle MATERIAL_PUSH_REACTION_SETTER = ReflectionHelper.getFinalSetter(net.minecraft.server.v1_16_R3.Material.class, "S");
public static final MethodHandle MATERIAL_PUSH_REACTION_SETTER = ReflectionHelper.getFinalSetter(net.minecraft.server.v1_16_R3.Material.class, "T");

public static final MethodHandle BLOCK_STRENGTH_SETTER = ReflectionHelper.getFinalSetter(net.minecraft.server.v1_16_R3.BlockBase.BlockData.class, "strength");

Expand Down

0 comments on commit b4f24f1

Please sign in to comment.