1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-02-08 08:21:41 +01:00

We need this check

This commit is contained in:
Zrips 2020-04-29 12:10:19 +03:00
parent a22c1d1bd1
commit 6cde42fe21

View File

@ -35,6 +35,7 @@ public class GUIManager {
public enum GUIButtonLocation {
topLeft(0, 0), topRight(0, 1), bottomLeft(1, 0), bottomRight(1, 1);
private Integer row;
private Integer collumn;
@ -55,6 +56,7 @@ public class GUIManager {
public enum GUIRows {
r1(1), r2(2), r3(3), r4(4), r5(5), r6(6);
private int rows;
GUIRows(int rows) {
@ -372,6 +374,8 @@ public class GUIManager {
public static void openGui(CMIGui gui) {
Player player = gui.getPlayer();
if (player.isSleeping())
return;
CMIGui oldGui = null;
if (isOpenedGui(player)) {