mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Because lowercase class names are evil.
This commit is contained in:
@ -7,7 +7,7 @@ import org.getspout.spoutapi.player.SpoutPlayer;
|
||||
import org.getspout.spoutapi.sound.SoundEffect;
|
||||
import org.getspout.spoutapi.sound.SoundManager;
|
||||
|
||||
import com.gmail.nossr50.mcMMO;
|
||||
import com.gmail.nossr50.McMMO;
|
||||
|
||||
public class SpoutSounds {
|
||||
|
||||
@ -30,7 +30,7 @@ public class SpoutSounds {
|
||||
*
|
||||
* @param player The player who repaired an item
|
||||
*/
|
||||
public static void playRepairNoise(Player player, mcMMO plugin) {
|
||||
public static void playRepairNoise(Player player, McMMO plugin) {
|
||||
SoundManager SM = SpoutManager.getSoundManager();
|
||||
SpoutPlayer sPlayer = SpoutManager.getPlayer(player);
|
||||
|
||||
@ -43,7 +43,7 @@ public class SpoutSounds {
|
||||
*
|
||||
* @param player The player who leveled up
|
||||
*/
|
||||
protected static void playLevelUpNoise(Player player, mcMMO plugin) {
|
||||
protected static void playLevelUpNoise(Player player, McMMO plugin) {
|
||||
SoundManager SM = SpoutManager.getSoundManager();
|
||||
SpoutPlayer sPlayer = SpoutManager.getPlayer(player);
|
||||
|
||||
|
@ -19,7 +19,7 @@ import org.getspout.spoutapi.SpoutManager;
|
||||
import org.getspout.spoutapi.keyboard.Keyboard;
|
||||
import org.getspout.spoutapi.player.SpoutPlayer;
|
||||
|
||||
import com.gmail.nossr50.mcMMO;
|
||||
import com.gmail.nossr50.McMMO;
|
||||
import com.gmail.nossr50.config.SpoutConfig;
|
||||
import com.gmail.nossr50.datatypes.HUDmmo;
|
||||
import com.gmail.nossr50.datatypes.PlayerProfile;
|
||||
@ -30,9 +30,9 @@ import com.gmail.nossr50.util.Misc;
|
||||
import com.gmail.nossr50.util.Users;
|
||||
|
||||
public class SpoutStuff {
|
||||
private static mcMMO plugin = mcMMO.p;
|
||||
private static McMMO plugin = McMMO.p;
|
||||
|
||||
public final static String spoutDirectory = mcMMO.mainDirectory + "Resources" + File.separator;
|
||||
public final static String spoutDirectory = McMMO.mainDirectory + "Resources" + File.separator;
|
||||
public final static String hudDirectory = spoutDirectory + "HUD" + File.separator;
|
||||
public final static String hudStandardDirectory = hudDirectory + "Standard" + File.separator;
|
||||
public final static String hudRetroDirectory = hudDirectory + "Retro" + File.separator;
|
||||
@ -55,7 +55,7 @@ public class SpoutStuff {
|
||||
try {
|
||||
File currentFile = new File(theFilePath + theFileName);
|
||||
|
||||
JarFile jar = new JarFile(mcMMO.mcmmo);
|
||||
JarFile jar = new JarFile(McMMO.mcmmo);
|
||||
JarEntry entry = jar.getJarEntry("resources/" + theFileName);
|
||||
InputStream is = jar.getInputStream(entry);
|
||||
|
||||
|
Reference in New Issue
Block a user