mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-24 21:54:33 +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)
|
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) {
|
if (e instanceof EntityItem) {
|
||||||
|
|
Loading…
Reference in a new issue