mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-03 05:51:42 +01:00
Fix issue #2000
This commit is contained in:
parent
8c165b9d55
commit
ba216c7587
@ -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.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