mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Restrict cloud-walking enchants to magic users when walking on cloud blocks
This commit is contained in:
parent
b68313646f
commit
5b18c7c0f6
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public enum CloudType {
|
|||
}
|
||||
|
||||
return Predicates.INTERACT_WITH_CLOUDS.test((EntityPlayer)e)
|
||||
|| EntityCloud.getFeatherEnchantStrength((EntityPlayer)e) > 0;
|
||||
|| (Predicates.MAGI.test(e) && EntityCloud.getFeatherEnchantStrength((EntityPlayer)e) > 0);
|
||||
}
|
||||
|
||||
if (e instanceof EntityItem) {
|
||||
|
|
Loading…
Reference in a new issue