mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Code cleanup
This commit is contained in:
1 parent
6bbc4bd7ad
commit
7b81bc1c6c
2 files changed
-28
No files matched your search
@@ -11,18 +11,6 @@ public class Info {
|
||||
private Block last;
|
||||
private Shop shop;
|
||||
|
||||
/**
|
||||
* Stores info for the players last shop interact.
|
||||
*
|
||||
* @param loc
|
||||
* The location they clicked (Block.getLocation())
|
||||
* @param action
|
||||
* The action (ShopAction.*)
|
||||
* @param material
|
||||
* The material they were holding
|
||||
* @param data
|
||||
* The data value of the material
|
||||
*/
|
||||
public Info(Location loc, ShopAction action, ItemStack item, Block last) {
|
||||
this.loc = loc;
|
||||
this.action = action;
|
||||
@@ -31,20 +19,6 @@ public class Info {
|
||||
this.item = item.clone();
|
||||
}
|
||||
|
||||
/**
|
||||
* Stores info for the players last shop interact.
|
||||
*
|
||||
* @param loc
|
||||
* The location they clicked (Block.getLocation())
|
||||
* @param action
|
||||
* The action (ShopAction.*)
|
||||
* @param material
|
||||
* The material they were holding
|
||||
* @param data
|
||||
* The data value of the material
|
||||
* @param shop
|
||||
* The shop they interacted with, or null if none
|
||||
*/
|
||||
public Info(Location loc, ShopAction action, ItemStack item, Block last, Shop shop) {
|
||||
this.loc = loc;
|
||||
this.action = action;
|
||||
|
||||
@@ -75,6 +75,4 @@ public class CustomItemName {
|
||||
public String toString() {
|
||||
return "CustomItemName [itemStack=" + itemStack + ", signName=" + signName + ", fullName=" + fullName + "]";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user