Get maker reagent from PG db, rework processor (no statics)

This commit is contained in:
P0nk
2023-03-02 08:18:03 +01:00
parent 5cecb7adb6
commit c0c0a2d2d9
11 changed files with 155 additions and 80 deletions

View File

@@ -30,9 +30,14 @@ import net.packet.InPacket;
* @author Jay Estrella, Ronan
*/
public final class MakerSkillHandler extends AbstractPacketHandler {
private final MakerProcessor makerProcessor;
public MakerSkillHandler(MakerProcessor makerProcessor) {
this.makerProcessor = makerProcessor;
}
@Override
public final void handlePacket(InPacket p, Client c) {
MakerProcessor.makerAction(p, c);
public void handlePacket(InPacket p, Client c) {
makerProcessor.makerAction(p, c);
}
}