mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Fix typo
This commit is contained in:
parent
ba61a48815
commit
3e708f0d80
@ -1173,7 +1173,7 @@ public class NMSImpl implements NMSBridge {
|
||||
Entity handle = NMSImpl.getHandle(entity);
|
||||
if (handle == null)
|
||||
return;
|
||||
if (RANDOM.nextFloat() < 0.8F && (handle.isInWater() || handle.aC())) {
|
||||
if (RANDOM.nextFloat() < 0.8F && (handle.isInWater() || handle.ay())) {
|
||||
handle.setMot(handle.getMot().getX(), handle.getMot().getY() + power, handle.getMot().getZ());
|
||||
}
|
||||
}
|
||||
|
@ -1176,7 +1176,7 @@ public class NMSImpl implements NMSBridge {
|
||||
Entity handle = NMSImpl.getHandle(entity);
|
||||
if (handle == null)
|
||||
return;
|
||||
if (RANDOM.nextFloat() < 0.8F && (handle.isInWater() || handle.ay())) {
|
||||
if (RANDOM.nextFloat() < 0.8F && (handle.isInWater() || handle.aC())) {
|
||||
handle.setMot(handle.getMot().getX(), handle.getMot().getY() + power, handle.getMot().getZ());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user