mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2025-11-03 17:56:41 +00:00
@@ -222,6 +222,9 @@ public class ContainerShop implements Shop {
|
||||
* null if this shop is not attached to another.
|
||||
*/
|
||||
public ContainerShop getAttachedShop() {
|
||||
if (this.getLocation() != null) {
|
||||
return null;
|
||||
}
|
||||
final Block c = Util.getSecondHalf(this.getLocation().getBlock());
|
||||
if (c == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user