MassiveCore - 1.9 pass 1

This commit is contained in:
Olof Larsson 2016-03-01 19:28:53 +01:00
parent 4dd71863c1
commit f11a5e7dc2
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,6 @@ import com.massivecraft.factions.RelationParticipator;
import com.massivecraft.factions.util.MiscUtil;
import com.massivecraft.factions.util.RelationUtil;
import com.massivecraft.massivecore.Named;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.collections.MassiveMapDef;
import com.massivecraft.massivecore.collections.MassiveTreeSetDef;
import com.massivecraft.massivecore.comparator.ComparatorCaseInsensitive;

View File

@ -2,14 +2,12 @@ package com.massivecraft.factions.entity;
import java.util.*;
import com.massivecraft.massivecore.predicate.Predicate;
import com.massivecraft.massivecore.store.Coll;
import com.massivecraft.massivecore.store.MStore;
import com.massivecraft.massivecore.util.Txt;
import com.massivecraft.factions.Const;
import com.massivecraft.factions.Factions;
import com.massivecraft.factions.Rel;
import com.massivecraft.factions.RelationParticipator;
import com.massivecraft.factions.integration.Econ;
import com.massivecraft.factions.util.MiscUtil;

View File

@ -14,6 +14,8 @@ import com.massivecraft.factions.Factions;
import com.massivecraft.factions.engine.EngineMain;
import com.massivecraft.factions.entity.MConf;
import com.massivecraft.factions.entity.MPlayer;
import com.massivecraft.massivecore.SoundEffect;
import com.massivecraft.massivecore.command.type.enumeration.TypeSound;
import com.massivecraft.massivecore.mixin.Mixin;
import com.massivecraft.massivecore.ps.PS;
import com.massivecraft.massivecore.util.IdUtil;
@ -93,7 +95,8 @@ public class FactionsLwcModule extends JavaModule
// ... play FX ...
Location location = block.getLocation();
SmokeUtil.spawnCloudSimple(location);
location.getWorld().playSound(location, Sound.DOOR_OPEN, 1, 1);
SoundEffect.valueOf("DOOR_OPEN", 1, 1).run(location);
// ... and inform.
Player player = event.getPlayer();