Skip to content

Commit

Permalink
License
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuxc-unknow committed Jan 13, 2024
1 parent 2d874ca commit 44fc8cf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 lyuxc

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mod_id=jrrp
# The human-readable display name for the mod.
mod_name=Jrrp
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MTI
mod_license=MIT
# The mod version. See https://semver.org/
mod_version=0.1.0
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mod/lyuxc/Jrrp.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class Jrrp {
private static ModConfigSpec.ConfigValue<List<? extends String>> PROMPT_WORD_LOW;
private static ModConfigSpec.ConfigValue<List<? extends String>> PROMPT_WORD_HIGH;
private static ModConfigSpec.ConfigValue<List<? extends String>> PROMPT_WORD_HIGHEST;
private static final Calendar calendar = Calendar.getInstance();
private static final String DAY_OF_YEAR = String.valueOf(calendar.get(Calendar.DAY_OF_YEAR));
private static final Calendar CALENDAR = Calendar.getInstance();
private static final String DAY_OF_YEAR = String.valueOf(CALENDAR.get(Calendar.DAY_OF_YEAR));
private static final RandomSource RANDOM_SOURCE = RandomSource.create();
private static String tipsText;
private static int JrrpValue = 0;
Expand Down

0 comments on commit 44fc8cf

Please sign in to comment.