Explorar el Código

bump SpaceGUI version

mastercake10 hace 5 meses
padre
commit
62f73c7d20
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      Plugin/pom.xml
  2. 2 2
      Plugin/src/main/java/de/Linus122/TimeIsMoney/ATM.java

+ 1 - 1
Plugin/pom.xml

@@ -99,7 +99,7 @@
 		<dependency>
 			<groupId>xyz.spaceio</groupId>
 			<artifactId>SpaceGUI</artifactId>
-			<version>0.0.4-SNAPSHOT</version>
+			<version>0.0.6-SNAPSHOT</version>
 			<scope>compile</scope>
 		</dependency>
 		<!--SpaceIO Metrics -->

+ 2 - 2
Plugin/src/main/java/de/Linus122/TimeIsMoney/ATM.java

@@ -90,8 +90,8 @@ public class ATM implements Listener, CommandExecutor {
 		plugin.getServer().getPluginManager().registerEvents(this, plugin);
 		
 		worths = Doubles.toArray(Main.finalconfig.getDoubleList("atm_worth_gradation"));
-		
-		gui = new SpaceGUI().title("§cATM").size(9*3).fillBackground(new SpaceItem().setStack(DecorationMaterial.GRAY_STAINED_GLASS_PANE.get()));
+		gui = new SpaceGUI().title("§cATM").size(9*3);
+		gui.fillBackground(new SpaceItem().setStack(DecorationMaterial.GRAY_STAINED_GLASS_PANE.get()));
 		
 		FileConfiguration fileConfig = new YamlConfiguration();