Fixed RaiseEarth + AvatarState click height

- Added check for avatarstate so height can be modified accordingly. New version is as tall as sneak version with avatarstate.
This commit is contained in:
Simplicitee 2015-08-04 15:36:27 -04:00
parent c0302bdd5b
commit 9d854587a5

View file

@ -44,6 +44,9 @@ public class EarthColumn {
return;
try {
if (AvatarState.isAvatarState(player)) {
height = (int) (2. / 5. * (double) AvatarState.getValue(height));
}
block = BlockSource.getEarthSourceBlock(player, range, ClickType.LEFT_CLICK);
if (block == null)
return;