Skip to content

Commit 18ca401

Browse files
committed
remove test code
1 parent 05d53c7 commit 18ca401

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public InventoryPreview(@NotNull QuickShop plugin, @NotNull ItemStack itemStack)
7070
itemMeta = plugin.getServer().getItemFactory().getItemMeta(itemStack.getType());
7171
}
7272
previewStr = plugin.text().of(player, "quickshop-gui-preview").forLocale();
73+
//previewStr="Preview Test";
7374
if (itemMeta != null) {
7475
if (itemMeta.hasLore()) {
7576
itemMeta.getLore().add(previewStr);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package org.maxgamer.quickshop.util.record.log;
2+
3+
public interface Recordable {
4+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package org.maxgamer.quickshop.util.record.log;
2+
3+
import lombok.Builder;
4+
import lombok.Data;
5+
import org.jetbrains.annotations.Nullable;
6+
import org.maxgamer.quickshop.shop.Shop;
7+
@Data
8+
@Builder
9+
public class ShopDeletionRecord implements Recordable {
10+
private Shop shop;
11+
private Reason reason;
12+
@Nullable
13+
private String extra;
14+
public enum Reason{
15+
BLOCK_BREAK,
16+
CLEAN,
17+
REMOVE,
18+
}
19+
}

0 commit comments

Comments
 (0)