Skip to content

Commit

Permalink
1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lt-name committed Sep 11, 2021
1 parent 644c7ca commit a3adaf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.smallaswater.npc</groupId>
<artifactId>RsNPCX</artifactId>
<version>1.8.3-SNAPSHOT</version>
<version>1.8.3<!-- -SNAPSHOT--></version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void addVariable(@NotNull String key, @NotNull BiFunction<IPlayer,

@Deprecated
public static void addVariable(@NotNull String name, @NotNull Class<? extends BaseVariable> variableClass) {
Server.getInstance().getLogger().warning("有插件注册了一个弃用的变量类!名字:" + name + " 类:" + variableClass + " 这可能会导致一些安全问题!");
RsNpcX.getInstance().getLogger().warning("有插件注册了一个弃用的变量类!名字:" + name + " 类:" + variableClass + " 这可能会导致一些安全问题!");
try {
BaseVariable variable = variableClass.newInstance();
VariableManage.VARIABLE_CLASS.put(name, variable);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: RsNPCX
main: com.smallaswater.npc.RsNpcX
version: "1.8.3-SNAPSHOT"
version: "1.8.3"
api:
- "1.0.9"
- "1.0.11"
Expand Down

0 comments on commit a3adaf4

Please sign in to comment.