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
|
||||
}
|
||||
|
||||
if (ply.isUnderWater) {
|
||||
if (ply.isUnderWater && !ply.isCreative) {
|
||||
if (!wasInLiquid) {
|
||||
wasInLiquid = true
|
||||
lastOutsideLiquid = ply.position
|
||||
|
Loading…
Reference in New Issue
Block a user