From: David ‘Bombe’ Roden Date: Wed, 15 Jul 2015 05:13:34 +0000 (+0200) Subject: Add constructor that takes an identifier X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e6459d9e0140ead00762e72b5d71b120f0f6f0fd;p=jFCPlib.git Add constructor that takes an identifier --- 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. *