Ignore creative players
This commit is contained in:
parent
5b4c68b201
commit
f4db9b1e22
@ -809,7 +809,7 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial
|
|||||||
lastOutsideLiquid = ply.position
|
lastOutsideLiquid = ply.position
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ply.isUnderWater) {
|
if (ply.isUnderWater && !ply.isCreative) {
|
||||||
if (!wasInLiquid) {
|
if (!wasInLiquid) {
|
||||||
wasInLiquid = true
|
wasInLiquid = true
|
||||||
lastOutsideLiquid = ply.position
|
lastOutsideLiquid = ply.position
|
||||||
|
Loading…
Reference in New Issue
Block a user