mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
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:
parent
c0302bdd5b
commit
9d854587a5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue