Skip to content

Commit

Permalink
server fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IoIxD committed Oct 24, 2023
1 parent 0e85951 commit 44f5455
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.1
loader_version=0.14.22

# Mod Properties
mod_version=1.0.0
mod_version=1.0.1
maven_group=net.ioixd
archives_base_name=cobblemounts

Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/ioixd/PlayerJump.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public void receive(MinecraftServer server, ServerPlayerEntity player, ServerPla
if(vehicle.isOnGround()) {
if(vehicle instanceof PokemonEntity living) {
Pokemon pokemon = living.getPokemon();
player.fallDistance = -1024.0f;
living.fallDistance = -1024.0f;
Vec3d vec3d = living.getVelocity();
living.addVelocity(vec3d.x, EntityHelper.GetJumpVelocityMultiplier(living), vec3d.z);
Expand Down
File renamed without changes
File renamed without changes.
11 changes: 5 additions & 6 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"schemaVersion": 1,
"id": "modid",
"id": "cobblemounts",
"version": "${version}",
"name": "CobbleMounts",
"description": "Mod that allows one to mount Cobblemon that they own.",
"authors": [
"IoI_zS"
"IoI_xD"
],
"contact": {
"homepage": "https://fabricmc.net/",
"sources": "https://github.com/FabricMC/fabric-example-mod"
},
"license": "CC0-1.0",
"icon": "assets/modid/icon.png",
"license": "LGPL-3",
"icon": "assets/cobblemounts/icon.png",
"environment": "*",
"entrypoints": {
"main": [
Expand All @@ -23,9 +23,8 @@
]
},
"mixins": [
"modid.mixins.json",
{
"config": "modid.mixins.json",
"config": "cobblemounts.mixins.json",
"environment": "server"
}
],
Expand Down

0 comments on commit 44f5455

Please sign in to comment.