Skip to content

Commit

Permalink
Code & whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed May 9, 2024
1 parent 2f5480a commit 287bdc7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 13 deletions.
3 changes: 0 additions & 3 deletions src/games/stendhal/client/gui/j2d/entity/Entity2DView.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@

import org.apache.log4j.Logger;

//
//

import games.stendhal.client.IGameScreen;
import games.stendhal.client.stendhal;
import games.stendhal.client.entity.ActionType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
***************************************************************************/
package games.stendhal.server.core.config.zone;

//
//

import org.apache.log4j.Logger;
import org.w3c.dom.Element;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
import org.apache.log4j.Logger;
import org.w3c.dom.Element;

//
//

import games.stendhal.server.core.config.XMLUtil;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/games/stendhal/server/entity/ActiveEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* (at your option) any later version. *
* *
***************************************************************************/

package games.stendhal.server.entity;

import static games.stendhal.common.constants.Actions.MOVE_CONTINUOUS;
Expand Down Expand Up @@ -96,7 +95,6 @@ protected void move(final int x, final int y, final int nx, final int ny) {

@SuppressWarnings("unused")
protected boolean handlePortal(final Portal portal) {

return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/games/stendhal/server/entity/RPEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ public String maybeDropDroppables(RPEntity attacker) {
int attackerRoll = Rand.roll1D20();
int defenderRoll = Rand.roll1D20();

System.out.printf(" drop: %2d %2d\n", attackerRoll, defenderRoll);
System.out.printf(" drop: %2d %2d\n", attackerRoll, defenderRoll);

if (attackerRoll > defenderRoll) {
this.dropDroppableItem(droppable);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* (at your option) any later version. *
* *
***************************************************************************/

package games.stendhal.server.entity.npc.behaviour.impl;

import java.util.ArrayList;
Expand Down

0 comments on commit 287bdc7

Please sign in to comment.