Измененно название метода

This commit is contained in:
Reider745
2023-12-29 20:18:14 +03:00
parent 9cfe1f81d2
commit ae82ba8c3d
2 changed files with 4 additions and 4 deletions
@@ -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();