Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Add a big nag that you shouldn't use these builds yet
Dieser Commit ist enthalten in:
Ursprung
b00389029f
Commit
b7f0eab471
@ -44,6 +44,16 @@ public class Velocity {
|
|||||||
* @param args the arguments to the proxy
|
* @param args the arguments to the proxy
|
||||||
*/
|
*/
|
||||||
public static void main(String... args) {
|
public static void main(String... args) {
|
||||||
|
logger.warn("Velocity 2.0.0 is under active development and WILL NOT WORK WITH YOUR"
|
||||||
|
+ " EXISTING PLUGINS!");
|
||||||
|
if (!Boolean.getBoolean("velocity.i-understand-what-im-doing")) {
|
||||||
|
logger.warn("Unless you are a developer, you shouldn't be using these builds.");
|
||||||
|
logger.warn("If you are very sure what you know what you're doing, run the proxy"
|
||||||
|
+ " with the Java flag -Dvelocity.i-understand-what-im-doing=true.");
|
||||||
|
logger.warn("The proxy will now shut down.");
|
||||||
|
System.exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
final ProxyOptions options = new ProxyOptions(args);
|
final ProxyOptions options = new ProxyOptions(args);
|
||||||
if (options.isHelp()) {
|
if (options.isHelp()) {
|
||||||
return;
|
return;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren