Updated the changelog and removed the test outputs. This is all that's needed for -62. (Mainly testing the compilation?)
This commit is contained in:
parent
21607213d4
commit
c4b879eaa6
|
@ -1,3 +1,8 @@
|
||||||
|
------------------------------------------------------
|
||||||
|
Version 2.1.0-62
|
||||||
|
------------------------------------------------------
|
||||||
|
- Fixed the fact rituals were not working (Might have been a compiler error).
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
Version 2.1.0-61
|
Version 2.1.0-61
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
|
@ -203,17 +203,13 @@ public class TileMasterRitualStone extends TileTicking implements IMasterRitualS
|
||||||
{
|
{
|
||||||
if (!world.isRemote && getCurrentRitual() != null && RitualRegistry.ritualEnabled(getCurrentRitual()))
|
if (!world.isRemote && getCurrentRitual() != null && RitualRegistry.ritualEnabled(getCurrentRitual()))
|
||||||
{
|
{
|
||||||
System.out.println("This ritual is enabled and there is a ritual.");
|
|
||||||
if (RitualHelper.checkValidRitual(getWorld(), getPos(), RitualRegistry.getIdForRitual(currentRitual), getDirection()))
|
if (RitualHelper.checkValidRitual(getWorld(), getPos(), RitualRegistry.getIdForRitual(currentRitual), getDirection()))
|
||||||
{
|
{
|
||||||
System.out.println("This ritual is valid.");
|
|
||||||
RitualEvent.RitualRunEvent event = new RitualEvent.RitualRunEvent(this, getOwner(), getCurrentRitual());
|
RitualEvent.RitualRunEvent event = new RitualEvent.RitualRunEvent(this, getOwner(), getCurrentRitual());
|
||||||
|
|
||||||
if (MinecraftForge.EVENT_BUS.post(event) || event.getResult() == Event.Result.DENY)
|
if (MinecraftForge.EVENT_BUS.post(event) || event.getResult() == Event.Result.DENY)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
System.out.println("This ritual is going to run!");
|
|
||||||
|
|
||||||
getCurrentRitual().performRitual(this);
|
getCurrentRitual().performRitual(this);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue