Skip to content

Commit

Permalink
Revert "Ensure the player name in the step definition is valid (#8384)…
Browse files Browse the repository at this point in the history
…" (#8387)

This reverts commit 2485dec.
  • Loading branch information
DanVanAtta authored Dec 9, 2020
1 parent 2485dec commit 8008f54
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -555,16 +555,6 @@ private void parseSteps(final List<GamePlay.Sequence.Step> stepList) throws Game
for (final GamePlay.Sequence.Step current : stepList) {
final IDelegate delegate = getDelegate(current.getDelegate());
final GamePlayer player = getPlayerIdOptional(current.getPlayer()).orElse(null);
if (player == null && current.getPlayer() != null && !current.getPlayer().isBlank()) {
log.log(
Level.SEVERE,
"The step "
+ current.getName()
+ " wants a player with the name of '"
+ current.getPlayer()
+ "' but that player can not be found. "
+ "Make sure the player's name is spelled correctly.");
}
final String name = current.getName();
String displayName = null;
final Properties stepProperties = parseStepProperties(current.getStepProperties());
Expand Down

0 comments on commit 8008f54

Please sign in to comment.