mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-13 04:13:01 -04:00
Java 11.0.2 migration (#32)
* Code compiles - execution NOT tested * updating gitignore * Removed intellij settings files * Removed more intellij files * Added exclusion for JDK classes. * Fixed purchasing script for vendors that have listed coin types. * Updated script to not kick off until the entire preload is complete. * adds static name entry for Solo movie poster and tcg9 vendor entry * clean up empty and orphaned object templates * adds placeholder black market (static) spawns * corrects entries for the video game table to correctly set it in tcg series 2 and remove series 1 console errors * Updated gitignore and removed intellij project files * Fixed appearance reference for thranta payroll and kashyyyk door, added skipLosCheck objvar due to cannit see issue. Requires updated src * Fixed appearance and template for terminal (#2) * Fixed appearance and template for terminal (#3) * Fixed appearance and template for terminal (#4) * Deleted another faulty/orphaned object template * Fixed gcw ranks option on frog. Only issue is that it doesn't award the officer commands or badges. * Fixed some unneeded java 11 changes
This commit is contained in:
@@ -2130,8 +2130,10 @@ public class base_class
|
||||
{
|
||||
return _hasObjVar(getLongWithNull(object), name);
|
||||
}
|
||||
/** @deprecated You should use the data-specific set methods. */
|
||||
/* deprecated You should use the data-specific set methods. */
|
||||
private static native boolean _setObjVar(long object, String name, obj_var data);
|
||||
/** @deprecated You should use the data-specific set methods. */
|
||||
@Deprecated
|
||||
public static boolean setObjVar(obj_id object, String name, obj_var data)
|
||||
{
|
||||
return _setObjVar(getLongWithNull(object), name, data);
|
||||
@@ -2964,9 +2966,8 @@ public class base_class
|
||||
obj_id[] listeners = getMessageListeners(messageHandlerName);
|
||||
if (listeners != null && listeners.length > 0)
|
||||
{
|
||||
for (int i = 0; i < listeners.length; ++i)
|
||||
{
|
||||
messageTo(listeners[i], messageHandlerName, params, 0, false);
|
||||
for (obj_id listener : listeners) {
|
||||
messageTo(listener, messageHandlerName, params, 0, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3204,9 +3205,8 @@ public class base_class
|
||||
return true;
|
||||
|
||||
boolean result = true;
|
||||
for (int i = 0; i < objects.length; ++i)
|
||||
{
|
||||
if (!messageTo(objects[i], messageName, params, time, false))
|
||||
for (obj_id object : objects) {
|
||||
if (!messageTo(object, messageName, params, time, false))
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
@@ -7013,7 +7013,7 @@ public class base_class
|
||||
|
||||
/*@}*/
|
||||
|
||||
/** @deprecated Do not use.*/
|
||||
/* deprecated Do not use.*/
|
||||
// public static native boolean addObjectToWorld(obj_id target);
|
||||
/*@}*/
|
||||
|
||||
@@ -17655,7 +17655,7 @@ public class base_class
|
||||
public static native boolean isValidLocation(location loc, float radius);
|
||||
public static boolean isValidLocation(location loc){
|
||||
if(loc != null)
|
||||
return isValidLocation(loc, 0f);
|
||||
return isValidLocation(loc, 0.0f);
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user