From e6459d9e0140ead00762e72b5d71b120f0f6f0fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 15 Jul 2015 07:13:34 +0200 Subject: [PATCH] Add constructor that takes an identifier --- src/main/java/net/pterodactylus/fcp/ModifyConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/net/pterodactylus/fcp/ModifyConfig.java b/src/main/java/net/pterodactylus/fcp/ModifyConfig.java index 412b818..687ee16 100644 --- a/src/main/java/net/pterodactylus/fcp/ModifyConfig.java +++ b/src/main/java/net/pterodactylus/fcp/ModifyConfig.java @@ -32,6 +32,11 @@ public class ModifyConfig extends FcpMessage { super("ModifyConfig"); } + public ModifyConfig(String identifier) { + this(); + setField("Identifier", identifier); + } + /** * Sets the option with the given name to the given value. * -- 2.7.4