mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-19 15:09:23 +00:00
3.0.20
This commit is contained in:
@@ -231,7 +231,7 @@ public class AdventureHelper {
|
||||
* @return the text wrapped in a color tag to remove shadows
|
||||
*/
|
||||
public static String removeShadow(String text) {
|
||||
return "<#F0F0F0>" + text + "</#F0F0F0>";
|
||||
return "<shadow:#00000000><#F0F0F0>" + text + "</#F0F0F0></shadow>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -137,6 +137,15 @@ public class VersionHelper {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the server version is newer than 1.21.4
|
||||
*
|
||||
* @return True if the version is newer than 1.21.4, otherwise false.
|
||||
*/
|
||||
public static boolean isVersionNewerThan1_21_4() {
|
||||
return version >= 21.39;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the server version is newer than 1.21.2.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user