Измененно название метода
This commit is contained in:
+2
-2
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user