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