Fix magic values of PistonValue

This commit is contained in:
David Choo 2020-12-09 15:35:46 -05:00
parent fa0aaccb61
commit 3b76ee2d23
2 changed files with 5 additions and 5 deletions

View file

@ -892,9 +892,9 @@ public class MagicValues {
register(PistonValue.DOWN, 0); register(PistonValue.DOWN, 0);
register(PistonValue.UP, 1); register(PistonValue.UP, 1);
register(PistonValue.SOUTH, 2); register(PistonValue.NORTH, 2);
register(PistonValue.WEST, 3); register(PistonValue.SOUTH, 3);
register(PistonValue.NORTH, 4); register(PistonValue.WEST, 4);
register(PistonValue.EAST, 5); register(PistonValue.EAST, 5);
register(SoundEffect.BLOCK_DISPENSER_DISPENSE, 1000); register(SoundEffect.BLOCK_DISPENSER_DISPENSE, 1000);

View file

@ -3,8 +3,8 @@ package com.github.steveice10.mc.protocol.data.game.world.block.value;
public enum PistonValue implements BlockValue { public enum PistonValue implements BlockValue {
DOWN, DOWN,
UP, UP,
NORTH,
SOUTH, SOUTH,
WEST, WEST,
NORTH, EAST
EAST;
} }