Измененно название метода
This commit is contained in:
+2
-2
@@ -166,8 +166,8 @@ public class AdaptedScriptAPI extends API {
|
||||
}
|
||||
|
||||
@JSStaticFunction
|
||||
public static boolean isServer(){
|
||||
return false;
|
||||
public static boolean isDedicatedServer(){
|
||||
return true;
|
||||
}
|
||||
|
||||
@APIStaticModule
|
||||
|
||||
@@ -460,8 +460,8 @@ var SaverAPI = {
|
||||
}
|
||||
};
|
||||
var GameAPI = {
|
||||
isServer: function(){
|
||||
return isServer();
|
||||
isDedicatedServer: function(){
|
||||
return isDedicatedServer();
|
||||
},
|
||||
prevent: function() {
|
||||
preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user