Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3300 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -265,7 +265,7 @@ public class GameObject extends PlaceObject
|
||||
Name[] ovalue = this.players;
|
||||
requestAttributeChange(
|
||||
PLAYERS, value, ovalue);
|
||||
this.players = (Name[])value.clone();
|
||||
this.players = (value == null) ? null : (Name[])value.clone();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -298,7 +298,7 @@ public class GameObject extends PlaceObject
|
||||
boolean[] ovalue = this.winners;
|
||||
requestAttributeChange(
|
||||
WINNERS, value, ovalue);
|
||||
this.winners = (boolean[])value.clone();
|
||||
this.winners = (value == null) ? null : (boolean[])value.clone();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user