Merge pull request #15 from Zereff06/fix_time_cap

fix -> time cap reset server time
This commit is contained in:
Martin Robertz authored and GitHub committed 2023-02-10 20:51:03 +01:00
commit d0a46a9a05
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;