Fix dodge ring crash, fix logo

This commit is contained in:
Vincent Lee authored and Vincent Lee committed 2019-06-02 12:44:22 -07:00
1 parent ed3ef437d5
commit 12695ae3f4
3 files changed
+3 -1

No files matched your search

@@ -53,6 +53,8 @@ public class ItemDodgeRing extends ItemBauble {
@OnlyIn(Dist.CLIENT)
public static void onKeyDown(InputEvent.KeyInputEvent event) {
Minecraft mc = Minecraft.getInstance();
if(mc.player == null)
return;
ItemStack ringStack = Botania.curiosLoaded ? CurioIntegration.findOrEmpty(ModItems.dodgeRing, mc.player) : ItemStack.EMPTY;
if(ringStack.isEmpty() || ItemNBTHelper.getInt(ringStack, TAG_DODGE_COOLDOWN, 0) > 0)
+1 -1
View File
@@ -2,7 +2,7 @@ modLoader="javafml" #mandatory
loaderVersion="[25,)"
issueTrackerURL="https://github.com/Vazkii/Botania/issues" #optional
displayURL="https://botaniamod.net" #optional
logoFile="assets/botania/textures/logo.png" #optional
logoFile="logo.png" #optional
credits="Azanor, Flaxbeard, Futureazoo, Rorax, Lorc, Adubbz, WTFG33ks, Auric245524, MegaManki, Kain Vinosec, Kihira, mDiyo, Mikeemoo, ChickenBones, PowerCrystals, cpw" #optional
authors="Vazkii, wiiv, williewillus, dylan4ever" #optional
File renamed without changes.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB