forked from CCBlueX/LiquidBounce
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split-up nofall modes into their own files extracted functions from NoFall that are used by others
- Loading branch information
Showing
15 changed files
with
596 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
312 changes: 0 additions & 312 deletions
312
src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/player/ModuleNoFall.kt
This file was deleted.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
...ain/kotlin/net/ccbluex/liquidbounce/features/module/modules/player/nofall/ModuleNoFall.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* This file is part of LiquidBounce (https://github.com/CCBlueX/LiquidBounce) | ||
* | ||
* Copyright (c) 2015 - 2023 CCBlueX | ||
* | ||
* LiquidBounce is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* LiquidBounce is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with LiquidBounce. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
package net.ccbluex.liquidbounce.features.module.modules.player.nofall | ||
|
||
import net.ccbluex.liquidbounce.features.module.Category | ||
import net.ccbluex.liquidbounce.features.module.Module | ||
import net.ccbluex.liquidbounce.features.module.modules.player.nofall.modes.* | ||
|
||
/** | ||
* NoFall module | ||
* | ||
* Protects you from taking fall damage. | ||
*/ | ||
|
||
object ModuleNoFall : Module("NoFall", Category.PLAYER) { | ||
|
||
internal val modes = choices( | ||
"Mode", SpoofGround, arrayOf( | ||
SpoofGround, | ||
NoGround, | ||
Packet, | ||
MLG, | ||
Rettungsplatform, | ||
Spartan524Flag, | ||
Vulcan, | ||
Verus, | ||
) | ||
) | ||
|
||
} |
Oops, something went wrong.