Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02:00
fix: don't warn on release build (#2369)
Dieser Commit ist enthalten in:
Ursprung
48be6ac94b
Commit
8b39e41a1a
@ -59,7 +59,7 @@ public class UpdateNotification {
|
||||
Document doc = db.parse(body);
|
||||
faweVersion = doc.getElementsByTagName("lastSuccessfulBuild").item(0).getFirstChild().getTextContent();
|
||||
FaweVersion faweVersion = Fawe.instance().getVersion();
|
||||
if (faweVersion.build == 0) {
|
||||
if (faweVersion.build == 0 && !faweVersion.snapshot) {
|
||||
LOGGER.warn("You are using a snapshot or a custom version of FAWE. This is not an official build distributed " +
|
||||
"via https://www.spigotmc.org/resources/13932/");
|
||||
return;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren