mirror of
https://github.com/GTNewHorizons/Tainted-Magic.git
synced 2026-11-13 00:37:28 +00:00
fix -> time cap reset server time
This commit is contained in:
1 parent
662c154102
commit
5136e2cfd6
1 file changed
+1
-1
@@ -72,7 +72,7 @@ public class ItemFocusTime extends ItemFocusBasic {
|
||||
ItemWandCasting wand = (ItemWandCasting) s.getItem();
|
||||
|
||||
if (wand.consumeAllVis(s, p, getVisCost(s), true, false)) {
|
||||
w.setWorldTime(w.isDaytime() ? 14000 : 0);
|
||||
w.setWorldTime( w.getWorldTime() + 12000);
|
||||
p.playSound("thaumcraft:wand", 0.5F, 1.0F);
|
||||
}
|
||||
return s;
|
||||
|
||||
Reference in new issue
Block a user