Skip to content

Commit

Permalink
Version bump and removed debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Stampede2011 committed Dec 5, 2021
1 parent 953a62f commit 0795501
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'org.example'
version '1.0-SNAPSHOT'
version '1.1-SNAPSHOT'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public class BungeePacksLayerPlugin extends Plugin {

@Override
public void onEnable() {
this.getLogger().info("! DEBUG: BungeePacksLayerPlugin - onEnable()");
Protocolize.protocolRegistration().registerPacket(
SendPackPacket.MAPPING,
Protocol.PLAY,
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/th0rgal/packsmanager/PacksListeners.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public PacksListeners() {

@Override
public void packetReceive(PacketReceiveEvent<SendPackPacket> event) {
System.out.println("! DEBUG: PacksListeners - packetReceive() - PacketReceiveEvent=" + event.toString());
final SendPackPacket packet = event.packet();
final UUID uuid = event.player().uniqueId();
if (map.containsKey(uuid) && map.get(uuid).equals(packet.getSha1())) {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/io/th0rgal/packsmanager/SendPackPacket.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public SendPackPacket() {

@Override
public void read(ByteBuf buf, PacketDirection direction, int protocolVersion) {
System.out.println("! DEBUG: SendPackPacket - read()");
url = readString(buf);
sha1 = readString(buf);
forced = buf.readBoolean();
Expand All @@ -49,7 +48,6 @@ public void read(ByteBuf buf, PacketDirection direction, int protocolVersion) {

@Override
public void write(ByteBuf buf, PacketDirection direction, int protocolVersion) {
System.out.println("! DEBUG: SendPackPacket - write()");
writeString(url, buf);
writeString(sha1, buf);
}
Expand All @@ -72,7 +70,6 @@ public String getSha1() {

@Override
public boolean equals(Object o) {
System.out.println("! DEBUG: SendPackPacket - equals()");
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SendPackPacket that = (SendPackPacket) o;
Expand Down

0 comments on commit 0795501

Please sign in to comment.