mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2026-06-05 00:58:17 +08:00
修改builder访问限制
This commit is contained in:
+2
-2
@@ -17,12 +17,12 @@ public class EasyMessageBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
EasyMessageBuilder contents(String content) {
|
public EasyMessageBuilder contents(String content) {
|
||||||
this.content = content;
|
this.content = content;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
EasyMessageBuilder params(String... placeholders) {
|
public EasyMessageBuilder params(String... placeholders) {
|
||||||
this.params = placeholders;
|
this.params = placeholders;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -17,12 +17,12 @@ public class EasyMessageListBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
EasyMessageListBuilder contents(String... contents) {
|
public EasyMessageListBuilder contents(String... contents) {
|
||||||
this.contents = contents;
|
this.contents = contents;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
EasyMessageListBuilder params(String... placeholders) {
|
public EasyMessageListBuilder params(String... placeholders) {
|
||||||
this.params = placeholders;
|
this.params = placeholders;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user