Skip to content

Commit

Permalink
添加遗忘的导入语句
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvigarabis committed Jan 5, 2024
1 parent f6c5aca commit c51bf30
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

## 代码

- [ ] 把所有代码当中的TODO完成
- [ ] 把一些混乱的类型用法还有变量名改过来
- [ ] 把逻辑弄清楚一点

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ private void updateOperationModeStatus(){
private void updateItemAcceptableStatus(){
ItemStack item;

//TODO: 修复此处在初次展示的时候不会显示黄色的问题
if (this.ctrl.selectedItem == null){
item = createTextItem(
Material.YELLOW_STAINED_GLASS_PANE,
Expand Down Expand Up @@ -357,6 +358,8 @@ public void setSelectedItem(ItemStack item){

public void setEnchantmentElements(List<EnchantmentSet> enchantSetList, Map<Enchantment, Integer> enchantments){

//TODO: 修复可能多生成一张空白页面的问题

//复制一份,不然被改了就麻烦了
enchantSetList = new ArrayList<>(enchantSetList);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.bukkit.configuration.InvalidConfigurationException;

import java.util.logging.Logger;
import java.util.List;
import java.io.File;

public final class ESplitterPlugin extends JavaPlugin {
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/io/github/silvigarabis/esplitter/Messages.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import java.util.EnumMap;

import java.util.logging.Logger;
import java.util.ArrayList;
import java.util.List;

/**
* 和插件聊天消息发送有关的类。
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ console-message:
在确认无误后,可以使用 &b/esplitter reload&r 重新加载。
plugin-message-config-reloading: 正在加载聊天消息
plugin-message-config-loaded: 聊天消息已加载成功!
plugin-message-config-missing: "缺少 {} 条聊天消息"
plugin-message-config-missing: "缺少 {} 条聊天消息: {}"
plugin-load-twice-error: 错误!插件被启用了两次
plugin-config-reloading: 正在加载配置文件

0 comments on commit c51bf30

Please sign in to comment.