mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +00:00
Fix dodge ring crash, fix logo
This commit is contained in:
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)
|
||||
|
||||
@@ -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 |
Reference in new issue
Block a user