mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-25 14:34:52 +00:00
Don't Gotta Go Fast
Fixes https://github.com/SpitefulFox/Avaritia/issues/106 https: //github.com/SpitefulFox/Avaritia/commit/60d5c101b1d99cbff4d11522581d6e247b3b1a66 Co-Authored-By: SpitefulFox <[email protected]>
This commit is contained in:
1 parent
95c7b2bd39
commit
30de3c00a1
2 files changed
+5
-2
No files matched your search
@@ -2,6 +2,7 @@ package fox.spiteful.avaritia.items;
|
||||
|
||||
import com.google.common.collect.Multimap;
|
||||
import fox.spiteful.avaritia.Avaritia;
|
||||
import fox.spiteful.avaritia.Config;
|
||||
import fox.spiteful.avaritia.LudicrousText;
|
||||
import fox.spiteful.avaritia.compat.Belmont;
|
||||
import fox.spiteful.avaritia.compat.Compat;
|
||||
@@ -168,7 +169,7 @@ public class ItemArmorInfinity extends ItemArmor implements ICosmicRenderItem, I
|
||||
if (hasPhantomInk(stack))
|
||||
list.add(StatCollector.translateToLocal("botaniamisc.hasPhantomInk").replaceAll("&", "\u00a7"));
|
||||
}
|
||||
if (this.slot == 3) {
|
||||
if (this.slot == 3 && Config.fast) {
|
||||
list.add("");
|
||||
list.add(EnumChatFormatting.BLUE+"+"+EnumChatFormatting.ITALIC+LudicrousText.makeSANIC("SANIC")+EnumChatFormatting.RESET+""+EnumChatFormatting.BLUE+"% Speed");
|
||||
}
|
||||
@@ -319,7 +320,7 @@ public class ItemArmorInfinity extends ItemArmor implements ICosmicRenderItem, I
|
||||
}
|
||||
|
||||
// shoes
|
||||
Boolean hasFoot = playerHasFoot(player);
|
||||
Boolean hasFoot = playerHasFoot(player) && Config.fast;
|
||||
if (playersWithFoot.contains(key)) {
|
||||
if (hasFoot) {
|
||||
boolean flying = player.capabilities.isFlying;
|
||||
|
||||
Reference in new issue
Block a user