mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2025-03-13 22:49:51 -04:00
Add objective to constructor for ServerUpdateScorePacket
This commit is contained in:
parent
584b296f0b
commit
b7f071fb91
1 changed files with 2 additions and 1 deletions
|
@ -19,8 +19,9 @@ public class ServerUpdateScorePacket implements Packet {
|
|||
private ServerUpdateScorePacket() {
|
||||
}
|
||||
|
||||
public ServerUpdateScorePacket(String entry) {
|
||||
public ServerUpdateScorePacket(String entry, String objective) {
|
||||
this.entry = entry;
|
||||
this.objective = objective;
|
||||
this.action = ScoreboardAction.REMOVE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue