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

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 @JSStaticFunction
public static boolean isServer(){ public static boolean isDedicatedServer(){
return false; return true;
} }
@APIStaticModule @APIStaticModule
@@ -460,8 +460,8 @@ var SaverAPI = {
} }
}; };
var GameAPI = { var GameAPI = {
isServer: function(){ isDedicatedServer: function(){
return isServer(); return isDedicatedServer();
}, },
prevent: function() { prevent: function() {
preventDefault(); preventDefault();