diff --git a/gradle.properties b/gradle.properties index 6f243566..4350c179 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ loader_version = 0.10.1+build.209 # Mod Properties - mod_version = 1.0.0 + mod_version = 0.1.0-alpha maven_group = ru.betterend archives_base_name = better-end diff --git a/src/main/java/ru/betterend/entity/EntityDragonfly.java b/src/main/java/ru/betterend/entity/EntityDragonfly.java index 16279b57..1856a123 100644 --- a/src/main/java/ru/betterend/entity/EntityDragonfly.java +++ b/src/main/java/ru/betterend/entity/EntityDragonfly.java @@ -157,7 +157,7 @@ public class EntityDragonfly extends AnimalEntity implements Flutterer { if (isInVoid(airPos)) { for (int i = 0; i < 8; i++) { airPos = TargetFinder.findAirTarget(EntityDragonfly.this, 16, 7, rotation, MHelper.PI2, 2, 1); - if (!isInVoid(airPos)) { + if (airPos != null && !isInVoid(airPos)) { return airPos; } } diff --git a/src/main/resources/assets/betterend/icon.png b/src/main/resources/assets/betterend/icon.png index 047b91f2..95bc2e64 100644 Binary files a/src/main/resources/assets/betterend/icon.png and b/src/main/resources/assets/betterend/icon.png differ diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 7b7a88c4..8cb9cb7a 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,45 +1,45 @@ -{ - "schemaVersion": 1, - "id": "betterend", - "version": "${version}", - - "name": "Better End", - "description": "More content for The End", - "authors": [ - "paulevs", - "Bulldog83" - ], - "contact": { - "homepage": "", - "sources": "" - }, - - "license": "MIT", - "icon": "assets/modid/icon.png", - - "environment": "*", - "entrypoints": { - "main": [ - "ru.betterend.BetterEnd" - ], - "client": [ - "ru.betterend.client.BetterEndClient" - ], - "rei_plugins": [ - "ru.betterend.compat.REIPlugin" - ], - "rei_containers": [ - "ru.betterend.compat.REIContainer" - ] - }, - "mixins": [ - "betterend.mixins.common.json", - "betterend.mixins.client.json" - ], - - "depends": { - "fabricloader": ">=0.7.4", - "fabric": "*", - "minecraft": "1.16.x" - } -} +{ + "schemaVersion": 1, + "id": "betterend", + "version": "${version}", + + "name": "Better End", + "description": "More content for The End", + "authors": [ + "paulevs", + "Bulldog83" + ], + "contact": { + "homepage": "", + "sources": "https://github.com/paulevsGitch/BetterEnd" + }, + + "license": "MIT", + "icon": "assets/betterend/icon.png", + + "environment": "*", + "entrypoints": { + "main": [ + "ru.betterend.BetterEnd" + ], + "client": [ + "ru.betterend.client.BetterEndClient" + ], + "rei_plugins": [ + "ru.betterend.compat.REIPlugin" + ], + "rei_containers": [ + "ru.betterend.compat.REIContainer" + ] + }, + "mixins": [ + "betterend.mixins.common.json", + "betterend.mixins.client.json" + ], + + "depends": { + "fabricloader": ">=0.7.4", + "fabric": "*", + "minecraft": "1.16.x" + } +}