Skip to content

Commit a5b8bc2

Browse files
committed
Clean up
1 parent 00cc506 commit a5b8bc2

File tree

2 files changed

+32
-36
lines changed

2 files changed

+32
-36
lines changed
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
/*
2-
* This file is a part of project QuickShop, the name is ShopControlPanelImpl.java
3-
* Copyright (C) PotatoCraft Studio and contributors
4-
*
5-
* This program is free software: you can redistribute it and/or modify it
6-
* under the terms of the GNU General Public License as published by the
7-
* Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10-
* This program is distributed in the hope that it will be useful, but WITHOUT
11-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13-
* for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
*
18-
*/
19-
20-
package org.maxgamer.quickshop.shop;
21-
22-
import org.maxgamer.quickshop.QuickShop;
23-
24-
public class ShopControlPanelImpl {
25-
private final QuickShop plugin;
26-
27-
public ShopControlPanelImpl(QuickShop plugin) {
28-
this.plugin = plugin;
29-
}
30-
31-
32-
}
1+
///*
2+
// * This file is a part of project QuickShop, the name is ShopControlPanelImpl.java
3+
// * Copyright (C) PotatoCraft Studio and contributors
4+
// *
5+
// * This program is free software: you can redistribute it and/or modify it
6+
// * under the terms of the GNU General Public License as published by the
7+
// * Free Software Foundation, either version 3 of the License, or
8+
// * (at your option) any later version.
9+
// *
10+
// * This program is distributed in the hope that it will be useful, but WITHOUT
11+
// * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+
// * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+
// * for more details.
14+
// *
15+
// * You should have received a copy of the GNU General Public License
16+
// * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
// *
18+
// */
19+
//
20+
//package org.maxgamer.quickshop.shop;
21+
//
22+
//import org.maxgamer.quickshop.QuickShop;
23+
//
24+
//public class ShopControlPanelImpl {
25+
// private final QuickShop plugin;
26+
//
27+
// public ShopControlPanelImpl(QuickShop plugin) {
28+
// this.plugin = plugin;
29+
// }
30+
//
31+
//
32+
//}

src/main/java/org/maxgamer/quickshop/shop/ShopManager.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
import com.google.common.collect.Sets;
2727
import io.papermc.lib.PaperLib;
2828
import lombok.Getter;
29-
import net.kyori.adventure.text.Component;
30-
import net.kyori.adventure.translation.Translatable;
3129
import org.apache.commons.lang.StringUtils;
3230
import org.bukkit.*;
3331
import org.bukkit.block.*;
@@ -1104,8 +1102,6 @@ public void actionSell(
11041102
Util.getItemStackName(shop.getItem())).forLocale();
11051103
}
11061104

1107-
plugin.adventure().sender(Component.translatable(T))
1108-
11091105
MsgUtil.TransactionMessage transactionMessage = new MsgUtil.TransactionMessage(msg, Util.serialize(shop.getItem()), null);
11101106

11111107
MsgUtil.send(shop, shop.getOwner(), transactionMessage);

0 commit comments

Comments
 (0)