Nomifactory / DimensionalEdibles

Travel through dimensions with food!
https://www.curseforge.com/minecraft/mc-mods/dimensional-edibles-omnifactory-edition
GNU Lesser General Public License v3.0
3 stars 6 forks source link

Add a mechanism for invalidating a player's dimensionCache #7

Closed Exaxxion closed 3 years ago

Exaxxion commented 3 years ago

Players updating from DimensionalEdibles may have a bad cached location already saved to their Player entity NBT for their spawn point. While we fixed the spawning bug itself in #3, we need some manner to invalidate the cache so their destination in the dimension is recomputed.

Perhaps a command would be appropriate, like /dimensionaledibles reset [dimID|all], which would clear the tag off the calling player for either the specified dimension or all dimensions.