* Clean up part 1 - Removed lots of dead code - Removed unncessary files not in use - Cleaned up small bits of code - Removed a few warnings - Server.java ---> GameEngine.java - Constants.java ---> GameConstants.java * Cape Dye Rewrote cape dying * Packaging - redone ----> com.rebotted * PacketSender/clean up - ActionSender ---> PacketSender - Moved many more packets to packetsender - Cleaned up more dead code * Merge Client/Player - Merged Client.java with Player.java (both were doing same thing so redundant to have both) - Removed some more dead code - Tidy a few small things up * Quests/more clean up - Removed more dead code - Made quests static in order to clean them up a bit * More cleanup - Removed some more of the dead quest code - Correcting naming of some of the shop variables
18 lines
355 B
Java
18 lines
355 B
Java
package com.rebotted.net.packets.impl;
|
|
|
|
import com.rebotted.game.players.Player;
|
|
import com.rebotted.net.packets.PacketType;
|
|
|
|
public class Report implements PacketType {
|
|
|
|
@Override
|
|
public void processPacket(Player c, int packetType, int packetSize) {
|
|
try {
|
|
ReportHandler.handleReport(c);
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
}
|